Summary
CVE-2022-51028 is an unauthenticated SQL injection vulnerability (CWE-89) in CmsEasy 7.7.5_20210919. A remote attacker can run arbitrary SQL commands against the backend database and extract data such as administrator credentials. The CVE record rates it 8.8 (High) under CVSS v4.0 and 8.2 (High) under CVSS v3.1.
Technical details
- Root cause: The
execsql_actionfunction executes attacker-supplied queries that are decrypted with a hardcoded key (cmseasy_sql). Because the key is fixed, anyone can produce a valid encrypted payload. - Trigger conditions: A request to
/?case=crossall&act=execsql. No authentication or user interaction is required. - Attack vector: Network, low complexity.
- Impact: Arbitrary SQL execution, including disclosure of administrator credentials. The CVE record notes first exploitation observed on October 22, 2023 (Shadowserver Foundation).
Affected software
- CmsEasy 7.7.5_20210919 (the only version listed as affected in the CVE record)
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/PR:N/UI:N/S:U/C:H/I:L/A:N
Mitigation and recommended actions
- Immediate: The CVE record does not name a fixed version. Check the vendor (cmseasy.cn) for an updated release and upgrade from 7.7.5_20210919 as soon as one is available.
- If no patch: Restrict access to the CmsEasy site, for example with a WAF or reverse-proxy rule that blocks requests to
/?case=crossall&act=execsql. Review web and database logs for requests to that path. If exposure is suspected, rotate the administrator credentials.

