CVE-2024-45036 (GCVE-0-2024-45036)
Vulnerability from cvelistv5 – Published: 2024-08-26 22:37 – Updated: 2024-08-27 18:10
VLAI?
Summary
Tophat is a mobile applications testing harness. An Improper Access Control vulnerability can expose the `TOPHAT_APP_TOKEN` token stored in `~/.tophatrc` through use of a malicious Tophat URL controlled by the attacker. The vulnerability allows Tophat to send this token to the attacker's server without any checks to ensure that the server is trusted. This token can then be used to access internal build artifacts, for mobile applications, not intended to be public. The issue has been patched as of version 1.10.0. The ability to request artifacts using a Tophat API has been deprecated as this flow was inherently insecure. Systems that have implemented this kind of endpoint should cease use and invalidate the token immediately. There are no workarounds and all users should update as soon as possible.
Severity ?
4.3 (Medium)
CWE
- CWE-287 - Improper Authentication
Assigner
References
| URL | Tags | |||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-45036",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-08-27T18:10:21.491370Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-08-27T18:10:29.603Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "tophat",
"vendor": "Shopify",
"versions": [
{
"status": "affected",
"version": "\u003c 1.10.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Tophat is a mobile applications testing harness. An Improper Access Control vulnerability can expose the `TOPHAT_APP_TOKEN` token stored in `~/.tophatrc` through use of a malicious Tophat URL controlled by the attacker. The vulnerability allows Tophat to send this token to the attacker\u0027s server without any checks to ensure that the server is trusted. This token can then be used to access internal build artifacts, for mobile applications, not intended to be public. The issue has been patched as of version 1.10.0. The ability to request artifacts using a Tophat API has been deprecated as this flow was inherently insecure. Systems that have implemented this kind of endpoint should cease use and invalidate the token immediately. There are no workarounds and all users should update as soon as possible."
}
],
"metrics": [
{
"cvssV3_0": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
"version": "3.0"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-287",
"description": "CWE-287: Improper Authentication",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-08-26T22:37:01.795Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/Shopify/tophat/security/advisories/GHSA-p7xh-6hjr-mmg6",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/Shopify/tophat/security/advisories/GHSA-p7xh-6hjr-mmg6"
},
{
"name": "https://github.com/Shopify/tophat/pull/10",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/Shopify/tophat/pull/10"
}
],
"source": {
"advisory": "GHSA-p7xh-6hjr-mmg6",
"discovery": "UNKNOWN"
},
"title": "Improper Access Control Vulnerability When Accessing a Maliciously Crafted Tophat Link"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-45036",
"datePublished": "2024-08-26T22:37:01.795Z",
"dateReserved": "2024-08-21T17:53:51.330Z",
"dateUpdated": "2024-08-27T18:10:29.603Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"fkie_nvd": {
"descriptions": "[{\"lang\": \"en\", \"value\": \"Tophat is a mobile applications testing harness. An Improper Access Control vulnerability can expose the `TOPHAT_APP_TOKEN` token stored in `~/.tophatrc` through use of a malicious Tophat URL controlled by the attacker. The vulnerability allows Tophat to send this token to the attacker\u0027s server without any checks to ensure that the server is trusted. This token can then be used to access internal build artifacts, for mobile applications, not intended to be public. The issue has been patched as of version 1.10.0. The ability to request artifacts using a Tophat API has been deprecated as this flow was inherently insecure. Systems that have implemented this kind of endpoint should cease use and invalidate the token immediately. There are no workarounds and all users should update as soon as possible.\"}, {\"lang\": \"es\", \"value\": \"Tophat es un arn\\u00e9s de prueba de aplicaciones m\\u00f3viles. Una vulnerabilidad de control de acceso inadecuado puede exponer el token `TOPHAT_APP_TOKEN` almacenado en `~/.tophatrc` mediante el uso de una URL Tophat maliciosa controlada por el atacante. La vulnerabilidad permite a Tophat enviar este token al servidor del atacante sin realizar ninguna verificaci\\u00f3n para garantizar que el servidor sea confiable. Este token se puede utilizar para acceder a artefactos de compilaci\\u00f3n internos, para aplicaciones m\\u00f3viles, que no est\\u00e1n destinadas a ser p\\u00fablicas. El problema se solucion\\u00f3 a partir de la versi\\u00f3n 1.10.0. La capacidad de solicitar artefactos mediante una API de Tophat ha quedado obsoleta porque este flujo era inherentemente inseguro. Los sistemas que han implementado este tipo de endpoint deben dejar de utilizarlo e invalidar el token inmediatamente. No existen workarounds y todos los usuarios deben actualizar lo antes posible.\"}]",
"id": "CVE-2024-45036",
"lastModified": "2024-08-27T13:01:37.913",
"metrics": "{\"cvssMetricV30\": [{\"source\": \"security-advisories@github.com\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.0\", \"vectorString\": \"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N\", \"baseScore\": 4.3, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"REQUIRED\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"LOW\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 2.8, \"impactScore\": 1.4}]}",
"published": "2024-08-26T23:15:04.637",
"references": "[{\"url\": \"https://github.com/Shopify/tophat/pull/10\", \"source\": \"security-advisories@github.com\"}, {\"url\": \"https://github.com/Shopify/tophat/security/advisories/GHSA-p7xh-6hjr-mmg6\", \"source\": \"security-advisories@github.com\"}]",
"sourceIdentifier": "security-advisories@github.com",
"vulnStatus": "Awaiting Analysis",
"weaknesses": "[{\"source\": \"security-advisories@github.com\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-287\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2024-45036\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-08-26T23:15:04.637\",\"lastModified\":\"2024-08-27T13:01:37.913\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Tophat is a mobile applications testing harness. An Improper Access Control vulnerability can expose the `TOPHAT_APP_TOKEN` token stored in `~/.tophatrc` through use of a malicious Tophat URL controlled by the attacker. The vulnerability allows Tophat to send this token to the attacker\u0027s server without any checks to ensure that the server is trusted. This token can then be used to access internal build artifacts, for mobile applications, not intended to be public. The issue has been patched as of version 1.10.0. The ability to request artifacts using a Tophat API has been deprecated as this flow was inherently insecure. Systems that have implemented this kind of endpoint should cease use and invalidate the token immediately. There are no workarounds and all users should update as soon as possible.\"},{\"lang\":\"es\",\"value\":\"Tophat es un arn\u00e9s de prueba de aplicaciones m\u00f3viles. Una vulnerabilidad de control de acceso inadecuado puede exponer el token `TOPHAT_APP_TOKEN` almacenado en `~/.tophatrc` mediante el uso de una URL Tophat maliciosa controlada por el atacante. La vulnerabilidad permite a Tophat enviar este token al servidor del atacante sin realizar ninguna verificaci\u00f3n para garantizar que el servidor sea confiable. Este token se puede utilizar para acceder a artefactos de compilaci\u00f3n internos, para aplicaciones m\u00f3viles, que no est\u00e1n destinadas a ser p\u00fablicas. El problema se solucion\u00f3 a partir de la versi\u00f3n 1.10.0. La capacidad de solicitar artefactos mediante una API de Tophat ha quedado obsoleta porque este flujo era inherentemente inseguro. Los sistemas que han implementado este tipo de endpoint deben dejar de utilizarlo e invalidar el token inmediatamente. No existen workarounds y todos los usuarios deben actualizar lo antes posible.\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N\",\"baseScore\":4.3,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":1.4}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-287\"}]}],\"references\":[{\"url\":\"https://github.com/Shopify/tophat/pull/10\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/Shopify/tophat/security/advisories/GHSA-p7xh-6hjr-mmg6\",\"source\":\"security-advisories@github.com\"}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-45036\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-08-27T18:10:21.491370Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-08-27T18:10:26.520Z\"}}], \"cna\": {\"title\": \"Improper Access Control Vulnerability When Accessing a Maliciously Crafted Tophat Link\", \"source\": {\"advisory\": \"GHSA-p7xh-6hjr-mmg6\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_0\": {\"scope\": \"UNCHANGED\", \"version\": \"3.0\", \"baseScore\": 4.3, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"LOW\"}}], \"affected\": [{\"vendor\": \"Shopify\", \"product\": \"tophat\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 1.10.0\"}]}], \"references\": [{\"url\": \"https://github.com/Shopify/tophat/security/advisories/GHSA-p7xh-6hjr-mmg6\", \"name\": \"https://github.com/Shopify/tophat/security/advisories/GHSA-p7xh-6hjr-mmg6\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/Shopify/tophat/pull/10\", \"name\": \"https://github.com/Shopify/tophat/pull/10\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Tophat is a mobile applications testing harness. An Improper Access Control vulnerability can expose the `TOPHAT_APP_TOKEN` token stored in `~/.tophatrc` through use of a malicious Tophat URL controlled by the attacker. The vulnerability allows Tophat to send this token to the attacker\u0027s server without any checks to ensure that the server is trusted. This token can then be used to access internal build artifacts, for mobile applications, not intended to be public. The issue has been patched as of version 1.10.0. The ability to request artifacts using a Tophat API has been deprecated as this flow was inherently insecure. Systems that have implemented this kind of endpoint should cease use and invalidate the token immediately. There are no workarounds and all users should update as soon as possible.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-287\", \"description\": \"CWE-287: Improper Authentication\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-08-26T22:37:01.795Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-45036\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-27T18:10:29.603Z\", \"dateReserved\": \"2024-08-21T17:53:51.330Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-08-26T22:37:01.795Z\", \"assignerShortName\": \"GitHub_M\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…