Summary
CVE-2019-25778 is an unauthenticated SQL injection vulnerability (CWE-89) in the comment module of SeaCMS, affecting all versions through 8.7. A remote attacker can send crafted requests to extract database contents. It is rated High: 8.8 under CVSS v4.0 and 8.2 under CVSS v3.1.
Technical details
- Root cause: The
rlist[]array parameter handled by/comment/api/index.phpis not properly sanitized before it is used in a database query. - Trigger conditions: No authentication or user interaction is required. The endpoint must be reachable.
- Attack vector: Network. The attacker sends GET requests to
/comment/api/index.phpwith maliciousrlist[]values that contain backtick-quoted variables andextractvaluefunctions. This is an error-based technique. - Impact: The attacker can read database information (high confidentiality impact). Integrity impact is low, and no availability impact is scored.
Affected software
- SeaCMS versions up to and including 8.7
Severity
- CVSS v4.0: 8.8 (High),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 8.2 (High),
CVSS:3.1/AV:N/AC:L/AT:N/PR:N/UI:N/S:U/C:H/I:L/A:N
Mitigation and recommended actions
- Immediate: No fixed version is identified in the sources reviewed. Check the SeaCMS official website for a release newer than 8.7 and upgrade if one is available.
- If no patch is available: Restrict network access to
/comment/api/index.php, for example by blocking it at a web application firewall or reverse proxy. Monitor web logs for requests to that path that containrlist[]withextractvalue.

