CVE-2026-10258
Description
itsourcecode Content Management System 1.0 suffers from an SQL injection in /admin/add_sub_topic.php via the topic_id parameter, allowing remote authenticated attackers to manipulate database queries.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
itsourcecode Content Management System 1.0 suffers from an SQL injection in /admin/add_sub_topic.php via the topic_id parameter, allowing remote authenticated attackers to manipulate database queries.
Vulnerability
The vulnerability resides in the /admin/add_sub_topic.php file of itsourcecode Content Management System version 1.0. The application fails to properly sanitize or validate the topic_id parameter before incorporating it into SQL queries. An attacker who has logged in with valid credentials can inject malicious SQL code through this GET parameter [1], [2]. The issue is classified as a SQL injection, with the vulnerable parameter being topic_id.
Exploitation
To exploit the vulnerability, an attacker must have valid login credentials for the administrative interface, as the vulnerable page is located under the /admin/ directory. With a valid session, the attacker sends a crafted GET request to /admin/add_sub_topic.php with a malicious topic_id value. The public proof-of-concept demonstrates a UNION-based injection that extracts data by concatenating arbitrary strings into the query result. The provided PoC payload uses a UNION ALL SELECT with 18 NULL columns to map the query structure [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, and potentially full system compromise depending on the database server's configuration. The attacker can extract or modify any information stored in the database, including user credentials, session data, and other application content [2].
Mitigation
As of the available references, no official patch or fixed version has been released by itsourcecode. The vendor homepage [1] does not mention a security update. Users should consider implementing input validation and parameterized queries for the topic_id parameter in /admin/add_sub_topic.php as a workaround. A web application firewall (WAF) may also help mitigate exploitation until an official fix is provided.
AI Insight generated on Jun 1, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Range: 1.0
Patches
0No patches discovered yet.
Vulnerability mechanics
Root cause
"Missing input sanitization on the topic_id parameter in /admin/add_sub_topic.php allows SQL injection."
Attack vector
An attacker sends a crafted GET request to `/admin/add_sub_topic.php` with a malicious `topic_id` parameter containing SQL injection payloads (e.g., a UNION SELECT query). The advisory states that no authentication is required, so the attack can be carried out remotely by any unauthenticated user [ref_id=1].
Affected code
The vulnerability resides in `/admin/add_sub_topic.php` of itsourcecode Content Management System V1.0. The `topic_id` GET parameter is passed unsanitized into a SQL query, allowing an attacker to inject arbitrary SQL statements [ref_id=1].
What the fix does
The advisory recommends using prepared statements with parameter binding to separate SQL code from user input, strict input validation (e.g., enforcing numeric format for topic_id), minimizing database user permissions, and conducting regular security audits [ref_id=1]. No patch code is provided in the bundle.
Preconditions
- authNo authentication required; the attacker can reach the vulnerable endpoint without prior access.
- networkThe attacker must be able to send HTTP GET requests to the target server.
- inputThe topic_id parameter is user-controllable and not sanitized before use in SQL queries.
Reproduction
The reference write-up includes a PoC payload: `topic_id=1' UNION ALL SELECT CONCAT(0x716b707171,0x4d4b6c4b704f5464526f554b7a4d6a4a52646f62625a7253465567456e4e4d6a6c7a5974484e7074,0x7178767a71),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- -` [ref_id=1].
Generated on Jun 1, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
6News mentions
0No linked articles in our index yet.