Cyber Posture

CVE-2024-57487

Medium

Published: 13 January 2025

Published
13 January 2025
Modified
03 April 2025
KEV Added
Patch
CVSS Score 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS Score 0.5162 97.9th percentile
Risk Priority 44 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-57487 is a medium-severity Code Injection (CWE-94) vulnerability in Code-Projects Online Car Rental System. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 2.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-9 (Information Input Restrictions).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly requires validation of information inputs such as file extensions and MIME types, addressing the core vulnerability in the unrestricted file upload feature.

prevent

Restricts information inputs to organization-defined types and formats, preventing the upload of arbitrary executable files like PHP shells.

preventdetect

Employs malicious code protection to scan and block uploaded PHP shells, providing defense-in-depth against unvalidated file uploads.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Why these techniques?

The unrestricted file upload vulnerability in the web application enables exploitation of a public-facing application (T1190) and deployment of a PHP web shell for remote command execution (T1505.003).

NVD Description

In Code-Projects Online Car Rental System 1.0, the file upload feature does not validate file extensions or MIME types allowing an attacker to upload a PHP shell without any restrictions and execute commands on the server.

Deeper analysisAI

CVE-2024-57487 is a code injection vulnerability (CWE-94) in the Code-Projects Online Car Rental System version 1.0. The issue stems from the file upload feature, which lacks validation of file extensions or MIME types. This allows attackers to upload arbitrary files, including PHP shells, without restrictions, enabling command execution on the server. The vulnerability has a CVSS v3.1 base score of 6.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N) and was published on 2025-01-13.

An unauthenticated attacker can exploit this remotely over the network with low attack complexity and no user interaction. By leveraging the insecure file upload, they can upload a PHP shell and execute commands on the server, resulting in limited impacts to confidentiality and integrity.

References include the project's source code page at https://code-projects.org/online-car-rental-using-php-source-code/ and a GitHub repository at https://github.com/aaryan-11-x/CVE-2024-57487-and-CVE-2024-57488. No specific mitigation steps, patches, or vendor advisories are detailed in the available information.

Details

CWE(s)

Affected Products

code-projects
online car rental system
1.0

CVEs Like This One

CVE-2025-7413Same vendor: Code-Projects
CVE-2025-8255Same vendor: Code-Projects
CVE-2025-7412Same vendor: Code-Projects
CVE-2026-0566Same vendor: Code-Projects
CVE-2025-0346Same vendor: Code-Projects
CVE-2025-2973Same vendor: Code-Projects
CVE-2026-5256Same vendor: Code-Projects
CVE-2025-66224Shared CWE-94
CVE-2026-26699Shared CWE-94
CVE-2025-1956Same vendor: Code-Projects

References