{"id":"CVE-2024-42640","aliases":["EUVD-2024-3143","GHSA-vgxq-6rcf-qwrw"],"status":"published","title":"angular-base64-upload vulnerable to unauthenticated remote code execution","description":"angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php. Exploiting this vulnerability allows an attacker to upload arbitrary content to the server, which can subsequently be accessed through demo/uploads. This leads to the execution of previously uploaded content and enables the attacker to achieve code execution on the server. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.40214,"percentile":0.98657,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-434"],"published":"2024-10-11T00:00:00Z","modified":"2026-10-28T02:30:42Z","exploits":[{"source":"exploitdb","id":"EDB-52121","title":"Angular-Base64-Upload Library 0.1.20 - Remote Code Execution (RCE)","type":"remote","platform":"multiple","date":"2025-04-04","url":"https://www.exploit-db.com/exploits/52121"},{"source":"exploitdb","id":"EDB-52253","title":"Angular-Base64-Upload Library 0.1.21 - Unauthenticated Remote Code Execution (RCE)","type":"webapps","platform":"multiple","date":"2025-04-17","url":"https://www.exploit-db.com/exploits/52253"},{"source":"nuclei","id":"CVE-2024-42640","title":"Angular-Base64-Upload - Remote Code Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-42640.yaml"},{"source":"pocgithub","id":"KTN1990/CVE-2024-42640","title":"KTN1990/CVE-2024-42640","date":"2024-11-19","url":"https://github.com/KTN1990/CVE-2024-42640"},{"source":"pocgithub","id":"rvzsec/CVE-2024-42640","title":"rvzsec/CVE-2024-42640","date":"2024-10-09","url":"https://github.com/rvzsec/CVE-2024-42640"}],"fixes":[{"ecosystem":"npm","package":"angular-base64-upload","fixed_in":["0.1.21"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"angular-base64-upload","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.21"}]}]},{"source":"osv","ecosystem":"npm","package":"angular-base64-upload","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.21"}]}]}],"products":[{"vendor":"angular-base64-upload-project","product":"angular-base64-upload"}],"references":[{"url":"https://github.com/adonespitogo/angular-base64-upload","tags":["package"]},{"url":"https://www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html","tags":["article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42640","tags":["advisory"]},{"url":"https://github.com/rvizx/CVE-2024-42640","tags":["web"]},{"url":"https://github.com/advisories/GHSA-vgxq-6rcf-qwrw"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42640.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-42640","description":"angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php. Exploiting this vulnerability allows an attacker to upload arbitrary content to the server, which can subsequently be accessed through demo/uploads. This leads to the execution of previously uploaded content and enables the attacker to achieve code execution on the server. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.","status":"published","published":"2024-10-11T00:00:00Z","modified":"2024-10-15T16:15:15.198Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:34:03.333404Z"}],"euvd":[{"id":"EUVD-2024-3143","description":"angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php. Exploiting this vulnerability allows an attacker to upload arbitrary content to the server, which can subsequently be accessed through demo/uploads. This leads to the execution of previously uploaded content and enables the attacker to achieve code execution on the server. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.","status":"published","published":"2024-10-11T00:00:00Z","modified":"2024-10-15T16:15:15Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:27:37.250145Z"}],"ghsa":[{"id":"GHSA-vgxq-6rcf-qwrw","title":"angular-base64-upload vulnerable to unauthenticated remote code execution","description":"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.","status":"published","published":"2024-10-11T18:32:49Z","modified":"2024-10-11T19:44:07Z","cvss":[{"version":"4.0","score":9.3,"vector":"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","level":"critical"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:38:09.785133Z"}],"nvd":[{"id":"CVE-2024-42640","description":"angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php. Exploiting this vulnerability allows an attacker to upload arbitrary content to the server, which can subsequently be accessed through demo/uploads. This leads to the execution of previously uploaded content and enables the attacker to achieve code execution on the server. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.","status":"published","published":"2024-10-11T16:15:08.04Z","modified":"2026-06-17T07:49:48.587Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:10:31.879321Z"}],"osv":[{"id":"CVE-2024-42640","description":"angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php. Exploiting this vulnerability allows an attacker to upload arbitrary content to the server, which can subsequently be accessed through demo/uploads. This leads to the execution of previously uploaded content and enables the attacker to achieve code execution on the server. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.","status":"published","published":"2024-10-11T00:00:00Z","modified":"2026-10-28T02:30:42.671295476Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:42.322107Z"},{"id":"GHSA-vgxq-6rcf-qwrw","title":"angular-base64-upload vulnerable to unauthenticated remote code execution","description":"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.","status":"published","published":"2024-10-11T18:32:49Z","modified":"2024-10-11T20:12:17.610002Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":9.3,"vector":"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","level":"critical"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T15:46:57.348035Z"}]}}
