Show plain JSON{"dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": {"cveId": "CVE-2023-4760", "assignerOrgId": "e51fbebd-6053-4e49-959f-1b94eeb69a2c", "state": "PUBLISHED", "assignerShortName": "eclipse", "dateReserved": "2023-09-04T16:06:47.588Z", "datePublished": "2023-09-21T07:35:35.790Z", "dateUpdated": "2024-09-24T16:26:06.907Z"}, "containers": {"cna": {"affected": [{"defaultStatus": "unaffected", "platforms": ["Windows"], "product": "Eclipse RAP", "vendor": "Eclipse Foundation", "versions": [{"lessThanOrEqual": "3.25.0", "status": "affected", "version": "3.0.0", "versionType": "semver"}]}], "datePublic": "2023-09-21T07:00:00.000Z", "descriptions": [{"lang": "en", "supportingMedia": [{"base64": false, "type": "text/html", "value": "<div>In Eclipse RAP versions from 3.0.0 up to and including 3.25.0, Remote Code Execution is possible on Windows when using the FileUpload component.<br>\n</div><div><br></div><div>The reason for this is a not completely secure extraction of the file name in the <code>FileUploadProcessor.stripFileName(String name)</code> method. As soon as this finds a <code>/</code> in the path, everything before it is removed, but potentially <code>\\</code> (backslashes) coming further back are kept.<br>\nFor example, a file name such as <code>/..\\..\\webapps\\shell.war</code> can be used to upload a file to a Tomcat server under Windows, which is then saved as <code>..\\..\\webapps\\shell.war</code> in its <code>webapps</code> directory and can then be executed.<br></div>"}], "value": "In Eclipse RAP versions from 3.0.0 up to and including 3.25.0, Remote Code Execution is possible on Windows when using the FileUpload component.\n\n\n\n\n\n\nThe reason for this is a not completely secure extraction of the file name in the FileUploadProcessor.stripFileName(String name) method. As soon as this finds a / in the path, everything before it is removed, but potentially \\ (backslashes) coming further back are kept.\n\nFor example, a file name such as /..\\..\\webapps\\shell.war can be used to upload a file to a Tomcat server under Windows, which is then saved as ..\\..\\webapps\\shell.war in its webapps directory and can then be executed.\n\n\n"}], "impacts": [{"capecId": "CAPEC-154", "descriptions": [{"lang": "en", "value": "CAPEC-154 Resource Location Spoofing"}]}], "metrics": [{"cvssV3_1": {"attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 7.6, "baseSeverity": "HIGH", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L", "version": "3.1"}, "format": "CVSS", "scenarios": [{"lang": "en", "value": "GENERAL"}]}], "problemTypes": [{"descriptions": [{"cweId": "CWE-22", "description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", "lang": "en", "type": "CWE"}]}, {"descriptions": [{"cweId": "CWE-23", "description": "CWE-23 Relative Path Traversal", "lang": "en", "type": "CWE"}]}], "providerMetadata": {"orgId": "e51fbebd-6053-4e49-959f-1b94eeb69a2c", "shortName": "eclipse", "dateUpdated": "2023-09-21T07:35:35.790Z"}, "references": [{"url": "https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/160"}, {"url": "https://github.com/eclipse-rap/org.eclipse.rap/pull/141"}], "source": {"discovery": "UNKNOWN"}, "title": "Remote Code Execution in Eclipse RAP on Windows", "x_generator": {"engine": "Vulnogram 0.1.0-dev"}}, "adp": [{"providerMetadata": {"orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-02T07:37:59.919Z"}, "title": "CVE Program Container", "references": [{"url": "https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/160", "tags": ["x_transferred"]}, {"url": "https://github.com/eclipse-rap/org.eclipse.rap/pull/141", "tags": ["x_transferred"]}]}, {"metrics": [{"other": {"type": "ssvc", "content": {"timestamp": "2024-09-24T16:25:22.581958Z", "id": "CVE-2023-4760", "options": [{"Exploitation": "none"}, {"Automatable": "no"}, {"Technical Impact": "partial"}], "role": "CISA Coordinator", "version": "2.0.3"}}}], "title": "CISA ADP Vulnrichment", "providerMetadata": {"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-09-24T16:26:06.907Z"}}]}}