cve-2024-42640

CRITICAL CVSS 9.8 opencve
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.

Timeline
Published
2024-10-11 16:15 UTC
Last Modified
2026-06-17
CVSS Details

CVSS details not available.

Affected Products

No product information available.

Weaknesses (CWE)
CVSS metrics
Version Base Severity Vector Exploitability Impact Source
3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H nvd
3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H opencve
3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H vulnrichment
References

No references available.

Linked Vulnerabilities

No linked vulnerabilities found.

{
  "advisories": [
    {
      "id": "GHSA-vgxq-6rcf-qwrw",
      "source": "ghsa",
      "title": "angular-base64-upload vulnerable to unauthenticated remote code execution",
      "url": "https://github.com/advisories/GHSA-vgxq-6rcf-qwrw"
    }
  ],
  "cve": "CVE-2024-42640",
  "epss": {
    "score": 0.45097
  },
  "mitre": {
    "cpes": [],
    "created": "2024-10-11T00:00:00+00:00",
    "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.",
    "metrics": {
      "cvssV2_0": {},
      "cvssV3_0": {},
      "cvssV3_1": {},
      "cvssV4_0": {}
    },
    "mitre_repo_path": "cves/2024/42xxx/CVE-2024-42640.json",
    "references": [
      "https://github.com/adonespitogo/angular-base64-upload",
      "https://www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html"
    ],
    "title": null,
    "updated": "2024-10-15T16:15:15.198000+00:00",
    "vendors": [],
    "weaknesses": []
  },
  "nvd": {
    "cpes": [],
    "created": "2024-10-11T16:15:08.040000+00:00",
    "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.",
    "metrics": {
      "cvssV2_0": {},
      "cvssV3_0": {},
      "cvssV3_1": {
        "score": 9.8,
        "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
      },
      "cvssV4_0": {}
    },
    "nvd_repo_path": "2024/CVE-2024-42640.json",
    "references": [
      "https://github.com/adonespitogo/angular-base64-upload",
      "https://www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html"
    ],
    "title": null,
    "updated": "2026-06-17T07:49:48.587000+00:00",
    "vendors": [],
    "weaknesses": [
      "CWE-434"
    ]
  },
  "opencve": {
    "changes": [
      {
        "created": "2024-10-11T15:45:00+00:00",
        "data": [
          {
            "details": {
              "new": "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.",
              "old": null
            },
            "type": "description"
          },
          {
            "details": {
              "added": [
                "https://github.com/adonespitogo/angular-base64-upload",
                "https://www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html"
              ],
              "removed": []
            },
            "type": "references"
          }
        ],
        "id": "d907de6e-4e15-413a-92bb-87c1f77e88aa"
      },
      {
        "created": "2024-10-15T17:15:00+00:00",
        "data": [
          {
            "details": [
              "angular-base64-upload-project",
              "angular-base64-upload-project$PRODUCT$angular-base64-upload"
            ],
            "type": "first_time"
          },
          {
            "details": {
              "added": [
                "CWE-434"
              ],
              "removed": []
            },
            "type": "weaknesses"
          },
          {
            "details": {
              "added": [
                "cpe:2.3:a:angular-base64-upload-project:angular-base64-upload:*:*:*:*:*:*:*:*"
              ],
              "removed": []
            },
            "type": "cpes"
          },
          {
            "details": {
              "added": [
                "angular-base64-upload-project",
                "angular-base64-upload-project$PRODUCT$angular-base64-upload"
              ],
              "removed": []
            },
            "type": "vendors"
          },
          {
            "details": {
              "added": {
                "cvssV3_1": {
                  "score": 9.8,
                  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                "ssvc": {
                  "options": {
                    "Automatable": "yes",
                    "Exploitation": "poc",
                    "Technical Impact": "total"
                  },
                  "version": "2.0.3"
                }
              },
              "removed": {},
              "updated": {}
            },
            "type": "metrics"
          }
        ],
        "id": "ad21f153-653f-47e3-b481-28f81908992d"
      }
    ],
    "cpes": {
      "data": [
        "cpe:2.3:a:angular-base64-upload-project:angular-base64-upload:*:*:*:*:*:*:*:*"
      ],
      "providers": [
        "vulnrichment"
      ]
    },
    "created": {
      "data": "2024-10-11T00:00:00+00:00",
      "provider": "mitre"
    },
    "description": {
      "data": "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.",
      "provider": "mitre"
    },
    "metrics": {
      "cvssV2_0": {
        "data": {},
        "provider": null
      },
      "cvssV3_0": {
        "data": {},
        "provider": null
      },
      "cvssV3_1": {
        "data": {
          "score": 9.8,
          "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        "provider": "vulnrichment"
      },
      "cvssV4_0": {
        "data": {},
        "provider": null
      },
      "epss": {
        "data": {
          "score": 0.45097
        },
        "provider": "first"
      },
      "kev": {
        "data": {},
        "provider": null
      },
      "ssvc": {
        "data": {
          "options": {
            "Automatable": "yes",
            "Exploitation": "poc",
            "Technical Impact": "total"
          },
          "version": "2.0.3"
        },
        "provider": "vulnrichment"
      },
      "threat_severity": {
        "data": null,
        "provider": null
      }
    },
    "references": {
      "data": [
        "https://github.com/adonespitogo/angular-base64-upload",
        "https://www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html"
      ],
      "providers": [
        "mitre",
        "nvd"
      ]
    },
    "title": {
      "data": null,
      "provider": null
    },
    "updated": {
      "data": "2026-04-15T00:35:42.020000+00:00",
      "provider": "nvd"
    },
    "vendors": {
      "data": [
        "angular-base64-upload-project",
        "angular-base64-upload-project$PRODUCT$angular-base64-upload"
      ],
      "providers": [
        "vulnrichment"
      ]
    },
    "weaknesses": {
      "data": [
        "CWE-434"
      ],
      "providers": [
        "nvd",
        "vulnrichment"
      ]
    }
  },
  "vulnrichment": {
    "cpes": [
      "cpe:2.3:a:angular-base64-upload-project:angular-base64-upload:*:*:*:*:*:*:*:*"
    ],
    "created": "2024-10-11T00:00:00+00:00",
    "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.",
    "metrics": {
      "cvssV2_0": {},
      "cvssV3_0": {},
      "cvssV3_1": {
        "score": 9.8,
        "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
      },
      "cvssV4_0": {},
      "kev": {},
      "ssvc": {
        "options": {
          "Automatable": "yes",
          "Exploitation": "poc",
          "Technical Impact": "total"
        },
        "version": "2.0.3"
      }
    },
    "references": [],
    "title": null,
    "updated": "2024-10-15T16:15:06.757000+00:00",
    "vendors": [
      "angular-base64-upload-project",
      "angular-base64-upload-project$PRODUCT$angular-base64-upload"
    ],
    "vulnrichment_repo_path": "2024/42xxx/CVE-2024-42640.json",
    "weaknesses": [
      "CWE-434"
    ]
  }
}
Enrichment data
View JSON API Download JSON