Summary
CVE-2019-25765 is a SQL injection vulnerability in ASP-CMS, a content management system built on classic ASP. The flaw resides in the commentList.asp endpoint, where the id parameter is not properly sanitized, allowing unauthenticated remote attackers to inject arbitrary SQL and retrieve sensitive database contents. The vulnerability carries a CVSS v4.0 base score of 8.7 (HIGH).
Technical details
- Root cause: the
idparameter passed to/plug/comment/commentList.aspis concatenated into a SQL query without adequate input validation, permitting UNION-based SQL injection. - ASP-CMS applies a keyword blocklist intended to strip dangerous SQL terms, but this filter can be bypassed by interleaving the string "master" within blocked keywords, allowing filtered terms to reassemble after the filter runs.
- Attack vector: a crafted HTTP GET request to the vulnerable endpoint (e.g.,
id=-1 union select ... from {prefix}user) requires no authentication and no user interaction. - Impact: successful exploitation allows extraction of administrative account data, including login names and MD5-hashed passwords, from the underlying database.
Affected software
- ASP-CMS — all released versions (the vendor uses a custom versioning scheme; no version is confirmed as fixed).
Severity
- CVSS v4.0 Base Score: 8.7 (HIGH) —
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1 Base Score: 7.5 (HIGH) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: No vendor-supplied patched version has been confirmed as available; organizations running ASP-CMS should treat all current deployments as exposed.
- If no patch: Restrict or disable public access to
/plug/comment/commentList.asp, deploy a web application firewall rule to block SQL injection payloads and blocklist-evasion patterns (e.g., strings interleaving "master" within SQL keywords) targeting theidparameter, and monitor database logs for anomalous UNION SELECT queries against user/credential tables.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Raw response body:
/inc/AspCms_Statistics.asp - URL of a loaded script:
/inc/AspCms_Statistics.asp

