CVE-2024-4163 (GCVE-0-2024-4163)
Vulnerability from cvelistv5 – Published: 2024-04-26 02:26 – Updated: 2024-08-01 20:33
VLAI?
Summary
The Skylab IGX IIoT Gateway allowed users to connect to it via a limited shell terminal (IGX). However, it was discovered that the process was running under root privileges. This allowed the attacker to read, write, and modify any file in the operating system by utilizing the limited shell file exec and download functions. By replacing the /etc/passwd file with a new root user entry, the attacker was able to breakout from the limited shell and login to a unrestricted shell with root access. With the root access, the attacker will be able take full control of the IIoT Gateway.
Severity ?
CWE
- Limited shell breakout leading to root access
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Skylab | IIoT Gateway (IGX) |
Affected:
1.2.12
|
Credits
Tan Inn Fung
Mah Chia Hui
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:skylab:igx_iiot_gateway:-:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "igx_iiot_gateway",
"vendor": "skylab",
"versions": [
{
"status": "affected",
"version": "1.2.12"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-4163",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-04-29T16:47:02.223690Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-862",
"description": "CWE-862 Missing Authorization",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-06-04T17:54:56.390Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-01T20:33:52.410Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://govtech-csg.github.io/security-advisories/2024/04/25/CVE-2024-4163.html"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "IIoT Gateway (IGX)",
"vendor": "Skylab",
"versions": [
{
"status": "affected",
"version": "1.2.12"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Tan Inn Fung"
},
{
"lang": "en",
"type": "finder",
"value": "Mah Chia Hui"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "The Skylab IGX IIoT Gateway allowed users to connect to it via a limited shell terminal (IGX). However, it was discovered that the process was running under root privileges. This allowed the attacker to read, write, and modify any file in the operating system by utilizing the limited shell file exec and download functions. By replacing the /etc/passwd file with a new root user entry, the attacker was able to breakout from the limited shell and login to a unrestricted shell with root access. With the root access, the attacker will be able take full control of the IIoT Gateway."
}
],
"value": "The Skylab IGX IIoT Gateway allowed users to connect to it via a limited shell terminal (IGX). However, it was discovered that the process was running under root privileges. This allowed the attacker to read, write, and modify any file in the operating system by utilizing the limited shell file exec and download functions. By replacing the /etc/passwd file with a new root user entry, the attacker was able to breakout from the limited shell and login to a unrestricted shell with root access. With the root access, the attacker will be able take full control of the IIoT Gateway."
}
],
"impacts": [
{
"capecId": "CAPEC-233",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-233 Privilege Escalation"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "ADJACENT_NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "Limited shell breakout leading to root access",
"lang": "en"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-04-30T06:59:38.364Z",
"orgId": "1a37b84a-8e51-4525-b3d6-87e2fae01dbd",
"shortName": "GovTech CSG"
},
"references": [
{
"url": "https://govtech-csg.github.io/security-advisories/2024/04/25/CVE-2024-4163.html"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "Privilege Escalation on Skylab IIoT Gateway (IGX)",
"x_generator": {
"engine": "Vulnogram 0.1.0-dev"
}
}
},
"cveMetadata": {
"assignerOrgId": "1a37b84a-8e51-4525-b3d6-87e2fae01dbd",
"assignerShortName": "GovTech CSG",
"cveId": "CVE-2024-4163",
"datePublished": "2024-04-26T02:26:22.758Z",
"dateReserved": "2024-04-25T02:38:12.253Z",
"dateUpdated": "2024-08-01T20:33:52.410Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"fkie_nvd": {
"descriptions": "[{\"lang\": \"en\", \"value\": \"The Skylab IGX IIoT Gateway allowed users to connect to it via a limited shell terminal (IGX). However, it was discovered that the process was running under root privileges. This allowed the attacker to read, write, and modify any file in the operating system by utilizing the limited shell file exec and download functions. By replacing the /etc/passwd file with a new root user entry, the attacker was able to breakout from the limited shell and login to a unrestricted shell with root access. With the root access, the attacker will be able take full control of the IIoT Gateway.\"}, {\"lang\": \"es\", \"value\": \"El Skylab IGX IIoT Gateway permiti\\u00f3 a los usuarios conectarse a \\u00e9l a trav\\u00e9s de un terminal shell limitado (IGX). Sin embargo, se descubri\\u00f3 que el proceso se estaba ejecutando con privilegios de root. Esto permiti\\u00f3 al atacante leer, escribir y modificar cualquier archivo en el sistema operativo utilizando las funciones limitadas de descarga y ejecuci\\u00f3n de archivos de shell. Al reemplazar el archivo /etc/passwd con una nueva entrada de usuario root, el atacante pudo salir del shell limitado e iniciar sesi\\u00f3n en un shell sin restricciones con acceso root. Con el acceso de root, el atacante podr\\u00e1 tomar el control total de la puerta de enlace IIoT.\"}]",
"id": "CVE-2024-4163",
"lastModified": "2024-11-21T09:42:18.580",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"cve_disclosure@tech.gov.sg\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"baseScore\": 8.0, \"baseSeverity\": \"HIGH\", \"attackVector\": \"ADJACENT_NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 2.1, \"impactScore\": 5.9}]}",
"published": "2024-04-26T03:15:06.740",
"references": "[{\"url\": \"https://govtech-csg.github.io/security-advisories/2024/04/25/CVE-2024-4163.html\", \"source\": \"cve_disclosure@tech.gov.sg\"}, {\"url\": \"https://govtech-csg.github.io/security-advisories/2024/04/25/CVE-2024-4163.html\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
"sourceIdentifier": "cve_disclosure@tech.gov.sg",
"vulnStatus": "Awaiting Analysis",
"weaknesses": "[{\"source\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-862\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2024-4163\",\"sourceIdentifier\":\"cve_disclosure@tech.gov.sg\",\"published\":\"2024-04-26T03:15:06.740\",\"lastModified\":\"2024-11-21T09:42:18.580\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"The Skylab IGX IIoT Gateway allowed users to connect to it via a limited shell terminal (IGX). However, it was discovered that the process was running under root privileges. This allowed the attacker to read, write, and modify any file in the operating system by utilizing the limited shell file exec and download functions. By replacing the /etc/passwd file with a new root user entry, the attacker was able to breakout from the limited shell and login to a unrestricted shell with root access. With the root access, the attacker will be able take full control of the IIoT Gateway.\"},{\"lang\":\"es\",\"value\":\"El Skylab IGX IIoT Gateway permiti\u00f3 a los usuarios conectarse a \u00e9l a trav\u00e9s de un terminal shell limitado (IGX). Sin embargo, se descubri\u00f3 que el proceso se estaba ejecutando con privilegios de root. Esto permiti\u00f3 al atacante leer, escribir y modificar cualquier archivo en el sistema operativo utilizando las funciones limitadas de descarga y ejecuci\u00f3n de archivos de shell. Al reemplazar el archivo /etc/passwd con una nueva entrada de usuario root, el atacante pudo salir del shell limitado e iniciar sesi\u00f3n en un shell sin restricciones con acceso root. Con el acceso de root, el atacante podr\u00e1 tomar el control total de la puerta de enlace IIoT.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"cve_disclosure@tech.gov.sg\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":8.0,\"baseSeverity\":\"HIGH\",\"attackVector\":\"ADJACENT_NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.1,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-862\"}]}],\"references\":[{\"url\":\"https://govtech-csg.github.io/security-advisories/2024/04/25/CVE-2024-4163.html\",\"source\":\"cve_disclosure@tech.gov.sg\"},{\"url\":\"https://govtech-csg.github.io/security-advisories/2024/04/25/CVE-2024-4163.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://govtech-csg.github.io/security-advisories/2024/04/25/CVE-2024-4163.html\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-01T20:33:52.410Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-4163\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-04-29T16:47:02.223690Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:skylab:igx_iiot_gateway:-:*:*:*:*:*:*:*\"], \"vendor\": \"skylab\", \"product\": \"igx_iiot_gateway\", \"versions\": [{\"status\": \"affected\", \"version\": \"1.2.12\"}], \"defaultStatus\": \"unknown\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-862\", \"description\": \"CWE-862 Missing Authorization\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-04-29T16:45:55.470Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"Privilege Escalation on Skylab IIoT Gateway (IGX)\", \"source\": {\"discovery\": \"UNKNOWN\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Tan Inn Fung\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Mah Chia Hui\"}], \"impacts\": [{\"capecId\": \"CAPEC-233\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-233 Privilege Escalation\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 8, \"attackVector\": \"ADJACENT_NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"Skylab\", \"product\": \"IIoT Gateway (IGX)\", \"versions\": [{\"status\": \"affected\", \"version\": \"1.2.12\"}], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://govtech-csg.github.io/security-advisories/2024/04/25/CVE-2024-4163.html\"}], \"x_generator\": {\"engine\": \"Vulnogram 0.1.0-dev\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"The Skylab IGX IIoT Gateway allowed users to connect to it via a limited shell terminal (IGX). However, it was discovered that the process was running under root privileges. This allowed the attacker to read, write, and modify any file in the operating system by utilizing the limited shell file exec and download functions. By replacing the /etc/passwd file with a new root user entry, the attacker was able to breakout from the limited shell and login to a unrestricted shell with root access. With the root access, the attacker will be able take full control of the IIoT Gateway.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"The Skylab IGX IIoT Gateway allowed users to connect to it via a limited shell terminal (IGX). However, it was discovered that the process was running under root privileges. This allowed the attacker to read, write, and modify any file in the operating system by utilizing the limited shell file exec and download functions. By replacing the /etc/passwd file with a new root user entry, the attacker was able to breakout from the limited shell and login to a unrestricted shell with root access. With the root access, the attacker will be able take full control of the IIoT Gateway.\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"description\": \"Limited shell breakout leading to root access\"}]}], \"providerMetadata\": {\"orgId\": \"1a37b84a-8e51-4525-b3d6-87e2fae01dbd\", \"shortName\": \"GovTech CSG\", \"dateUpdated\": \"2024-04-30T06:59:38.364Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-4163\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-01T20:33:52.410Z\", \"dateReserved\": \"2024-04-25T02:38:12.253Z\", \"assignerOrgId\": \"1a37b84a-8e51-4525-b3d6-87e2fae01dbd\", \"datePublished\": \"2024-04-26T02:26:22.758Z\", \"assignerShortName\": \"GovTech CSG\"}",
"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…