{"id":"CVE-2024-42640","published":"2024-10-11T00:00:00Z","modified":"2024-10-15T16:15:15Z","title":"angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php","vendor":null,"product":null,"tier":"core","eol":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-10-15T15:51:53.372537Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The angular-base64-upload component, prior to v0.1.21, contains an unrestricted file upload flaw in its demo/server.php script. An unauthenticated remote attacker over the network can upload arbitrary content through that script, then access it via demo/uploads to execute it and gain code execution on the server, with no special configuration or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T12:59:29Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.43177,"percentile":0.98745,"date":"2026-11-24","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2024-10-14","exploitedFirstSeen":"2024-10-14","ransomware":false,"evidence":[{"url":"https://isc.sans.edu/feeds/urlsummary.txt","date":"2024-10-14"},{"url":"https://isc.sans.edu/diary/Angularbase64update+Demo+Script+Exploited+CVE202442640/31354","date":"2024-10-15"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2024-42640","date":"2024-12-05"}],"evidenceTotal":3,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/adonespitogo/angular-base64-upload","tags":[]},{"url":"https://www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"npm","package":"angular-base64-upload","vulnerableRanges":["<0.1.21"],"patched":["0.1.21"],"from":["GHSA-vgxq-6rcf-qwrw"],"provenance":"source"}],"advisories":[{"id":"GHSA-vgxq-6rcf-qwrw","url":"https://github.com/advisories/GHSA-vgxq-6rcf-qwrw","severity":"CRITICAL","ecosystem":"npm","package":"angular-base64-upload","vulnerableRanges":["<0.1.21"],"patched":["0.1.21"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-3143","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-3143","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":52121,"url":"https://www.exploit-db.com/exploits/52121","title":"Angular-Base64-Upload Library 0.1.20 - Remote Code Execution (RCE)","type":"remote","platform":"multiple","date":"2025-04-04","verified":false,"provenance":"source"},{"id":52253,"url":"https://www.exploit-db.com/exploits/52253","title":"Angular-Base64-Upload Library 0.1.21 - Unauthenticated Remote Code Execution (RCE)","type":"webapps","platform":"multiple","date":"2025-04-17","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2025-04-04"},"pocGithub":{"count":2,"skipped":0,"earliest":"2024-10-09","earliestUrl":"https://github.com/rvzsec/CVE-2024-42640","repos":[{"name":"rvzsec/CVE-2024-42640","url":"https://github.com/rvzsec/CVE-2024-42640","stars":26,"created":"2024-10-09"},{"name":"KTN1990/CVE-2024-42640","url":"https://github.com/KTN1990/CVE-2024-42640","stars":2,"created":"2024-11-19"}]},"nuclei":[{"id":"CVE-2024-42640","name":"Angular-Base64-Upload - Remote Code Execution","severity":"critical","path":"http/cves/2024/CVE-2024-42640.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-42640.yaml"}],"first":{"date":"2024-10-09","source":"PoC-in-GitHub","url":"https://github.com/rvzsec/CVE-2024-42640"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-10-09","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2025-04-04","url":"https://github.com/rvzsec/CVE-2024-42640","provenance":"source"},{"date":"2024-10-11","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-42640","provenance":"source"},{"date":"2024-10-14","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://isc.sans.edu/feeds/urlsummary.txt","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":66.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 771 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.75,"detail":"percentile 0.9875"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 Exploit-DB entries; 2 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}