{"id":"GHSA-vgxq-6rcf-qwrw","summary":"angular-base64-upload vulnerable to unauthenticated remote code execution","details":"angular-base64-upload versions prior to v0.1.21 are vulnerable to unauthenticated remote code execution via the `angular-base64-upload/demo/server.php` endpoint. Exploitation of this vulnerability involves uploading arbitrary file content to the server, which can subsequently accessed through the `angular-base64-upload/demo/uploads` endpoint. This leads to the execution of previously uploaded content which enables the attacker to achieve code execution on the server.\n\nNOTE: This vulnerability only affects products that are no longer supported by the maintainer.","aliases":["CVE-2024-42640"],"modified":"2024-10-11T20:12:15.801930Z","published":"2024-10-11T18:32:49Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-10-11T19:44:05Z","nvd_published_at":"2024-10-11T16:15:08Z","cwe_ids":["CWE-434"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42640"},{"type":"PACKAGE","url":"https://github.com/adonespitogo/angular-base64-upload"},{"type":"WEB","url":"https://github.com/rvizx/CVE-2024-42640"},{"type":"WEB","url":"https://www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html"}],"affected":[{"package":{"name":"angular-base64-upload","ecosystem":"npm","purl":"pkg:npm/angular-base64-upload"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.21"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-vgxq-6rcf-qwrw/GHSA-vgxq-6rcf-qwrw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}