VYPR
High severity7.3NVD Advisory· Published May 31, 2026

CVE-2026-10178

CVE-2026-10178

Description

SQL injection in code-projects Online Music Site 1.0 via the id parameter in AdminEditAlbum.php allows remote unauthenticated attackers to execute arbitrary SQL commands.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

SQL injection in code-projects Online Music Site 1.0 via the `id` parameter in AdminEditAlbum.php allows remote unauthenticated attackers to execute arbitrary SQL commands.

Vulnerability

A SQL injection vulnerability exists in code-projects Online Music Site version 1.0 within the file /Administrator/PHP/AdminEditAlbum.php. The id parameter is taken from the GET request and directly concatenated into SQL queries without proper sanitization or validation, allowing an attacker to inject malicious SQL code. No authentication is required to reach this endpoint [2].

Exploitation

An attacker can exploit this vulnerability by sending a crafted GET request to the vulnerable script with a malicious id parameter. The exploit is publicly available and includes a proof-of-concept payload for boolean-based blind SQL injection. No prior authentication or special network position is needed; the attack can be performed remotely [2].

Impact

Successful exploitation allows an attacker to execute arbitrary SQL commands on the backend database. This can lead to unauthorized access to sensitive data, data tampering, complete compromise of the database server, and potential disruption of services. The attacker may gain full control over the system, posing a severe threat to confidentiality, integrity, and availability [2].

Mitigation

As of the publication date, no official patch has been released by the vendor. Users should implement input validation and use parameterized queries or prepared statements to prevent SQL injection. Additionally, restricting access to the vulnerable page or deploying a web application firewall can mitigate the risk until a fix is available [2].

AI Insight generated on May 31, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

Root cause

"Missing input sanitization on the "id" parameter in AdminEditAlbum.php allows direct injection of SQL code into database queries."

Attack vector

An unauthenticated attacker sends a crafted GET request to /Administrator/PHP/AdminEditAlbum.php with a malicious "id" parameter [ref_id=1]. The parameter value is passed directly into SQL queries without sanitization, enabling boolean-based blind, time-based blind, and UNION query injection [ref_id=1]. The attack is remotely exploitable over HTTP and requires no prior authentication or special privileges [ref_id=1].

Affected code

The vulnerable file is `/Administrator/PHP/AdminEditAlbum.php` in the Online Music Site version 1.0 [ref_id=1]. The "id" GET parameter is taken directly from user input and used in SQL queries without sanitization or validation [ref_id=1].

What the fix does

No patch is available in the bundle. The advisory recommends three mitigations: use prepared statements with parameter binding to separate SQL code from user data, rigorously validate and filter all user input, and minimize database user permissions to limit the blast radius of any successful injection [ref_id=1].

Preconditions

  • networkAttacker must be able to send HTTP GET requests to the target server hosting the Online Music Site application.
  • inputThe 'id' GET parameter in AdminEditAlbum.php is vulnerable and accepts arbitrary SQL payloads.

Reproduction

1. Send a GET request to `http://<target>/mis/Administrator/PHP/AdminEditAlbum.php?id=95' AND 4657=4657 AND 'qIzk'='qIzk` to confirm boolean-based blind injection. 2. Use a tool like sqlmap: `sqlmap -u "http://<target>/mis/Administrator/PHP/AdminEditAlbum.php?id=95" --dbs --cookie="languagecookie=eng;PHPSESSID=..."` to enumerate databases [ref_id=1]. 3. The UNION payload `id=95' UNION ALL SELECT NULL,NULL,NULL,CONCAT(0x717a7a6271,...),NULL,NULL,NULL-- -` extracts data across 7 columns [ref_id=1].

Generated on May 31, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

6

News mentions

1