CVE-2026-2213
Unrestricted File Upload in Online Music Site AdminAddAlbum.php
Publication date: 2026-02-09
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| fabian | online_music_site | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-434 | The product allows the upload or transfer of dangerous file types that are automatically processed within its environment. |
| CWE-284 | The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-2213 is an arbitrary file upload vulnerability in the AdminAddAlbum.php file of the Online Music Site version 1.0 by Code-projects. The vulnerability occurs because the application relies solely on HTTP headers such as Content-Type and Content-Disposition to validate uploaded files, which attackers can easily bypass.
Attackers can manipulate the txtimage argument to upload malicious files disguised as images, such as PHP scripts, by altering headers and file names. Once uploaded, these malicious files can be accessed and executed remotely, allowing attackers to run arbitrary code on the server.
This flaw enables remote code execution without requiring authentication, giving attackers the ability to control the server, steal data, or launch further attacks.
How can this vulnerability impact me? :
This vulnerability can severely impact system security by allowing attackers to upload and execute malicious files on the server.
- Attackers can gain remote code execution capabilities.
- The server can be fully controlled by unauthorized users.
- Sensitive data can be stolen or manipulated.
- Attackers can use the compromised server to launch further attacks.
- The confidentiality, integrity, and availability of the system are at risk.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
[{'type': 'paragraph', 'content': 'This vulnerability can be detected by checking for the presence of the vulnerable endpoint and monitoring for suspicious file uploads to the AdminAddAlbum.php script.'}, {'type': 'list_item', 'content': 'Use Google dorking with the query: inurl:Administrator/PHP/AdminAddAlbum.php to identify potentially vulnerable targets.'}, {'type': 'list_item', 'content': 'Monitor HTTP POST requests to /Administrator/PHP/AdminAddAlbum.php for multipart/form-data uploads containing suspicious file names or extensions such as .php disguised as images.'}, {'type': 'list_item', 'content': 'Check the upload directory (e.g., upload_images/album/) for unexpected PHP files like 11111.php which may indicate exploitation.'}, {'type': 'list_item', 'content': "Example command to find suspicious files on the server: find /path/to/webroot/Administrator/PHP/upload_images/album/ -type f -name '*.php'"}, {'type': 'list_item', 'content': 'Use network monitoring tools or web server logs to detect POST requests with manipulated Content-Type or Content-Disposition headers.'}] [1, 3]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include improving file upload validation and restricting access to uploaded files.
- Do not rely solely on HTTP headers like Content-Type and Content-Disposition for file validation; instead, validate the actual file content by inspecting file headers or magic numbers.
- Implement a whitelist of allowed file extensions (e.g., .jpg, .png) and reject any executable or script-related extensions such as .php, .asp, or double extensions like .php.png.
- Store uploaded files outside the web root or restrict direct access by serving files through backend processes.
- Rename uploaded files using randomized strings with fixed safe extensions to prevent attackers from guessing file locations.
- Enforce strict access controls and input validation to prevent unauthorized file execution.
- Consider replacing the affected component with an alternative product if possible.