{"id":"CVE-2024-42640","aliases":["CVE-2024-42640","GHSA-vgxq-6rcf-qwrw"],"related":[],"kind":"vulnerability","state":"published","title":"angular-base64-upload vulnerable to unauthenticated remote code execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones angular-base64-upload anteriores a v0.1.21 son vulnerables a la ejecución remota de código no autenticado a través de demo/server.php. Aprovechar esta vulnerabilidad permite a un atacante cargar contenido arbitrario al servidor, al que posteriormente se puede acceder a través de demo/uploads. Esto lleva a la ejecución de contenido cargado previamente y permite al atacante ejecutar código en el servidor. NOTA: Esta vulnerabilidad solo afecta a los productos que ya no reciben soporte del fabricante.","source":"nvd"}],"published":"2024-10-11T00:00:00.000Z","modified":"2026-06-17T07:49:48.587Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"CRITICAL"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.1.21","status":"affected"}],"vendor":"angular-base64-upload-project","product":"angular-base64-upload","cpe":"cpe:2.3:a:angular-base64-upload-project:angular-base64-upload:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.1.21"}],"ecosystem":"npm","package":"angular-base64-upload","purl":"pkg:npm/angular-base64-upload","source":"ghsa"}],"references":[{"url":"https://github.com/adonespitogo/angular-base64-upload","tags":["package"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42640","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rvizx/CVE-2024-42640","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-10-15T15:51:53.372Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42640","url":"https://www.cve.org/CVERecord?id=CVE-2024-42640","licence":"CVE Terms of Use","modified":"2024-10-15T16:15:15.198Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vgxq-6rcf-qwrw","url":"https://github.com/advisories/GHSA-vgxq-6rcf-qwrw","licence":"CC-BY-4.0","modified":"2024-10-11T20:12:17.610Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42640","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42640","licence":"Public domain","modified":"2026-06-17T07:49:48.587Z"}],"updatedAt":"2026-11-25T22:58:46.667Z","epss":{"score":0.43177,"percentile":0.98748,"date":"2026-12-01T12:00:22.000Z"}}