Database disclosure via unsanitized invoice identifier
Published Jan 2, 2023 · Updated Apr 11, 2025
SQL injection in S H Mohanjith Web Invoice 2.1.3 and earlier allows remote authenticated users to read WordPress database data. The clear_log action inserts the invoice_id request parameter into an SQL statement without adequate sanitization, escaping, or parameterization. Access to Manage Invoice is required; administrators have it by default, while configuration can expose the action to subscribers, and injected queries can extract sensitive database information.
Summary
What happened
SQL injection in S H Mohanjith Web Invoice 2.1.3 and earlier allows remote authenticated users to read WordPress database data. The clear_log action inserts the invoice_id request parameter into an SQL statement without adequate sanitization, escaping, or parameterization. Access to Manage Invoice is required; administrators have it by default, while configuration can expose the action to subscribers, and injected queries can extract sensitive database information.
The record
- CVE
- CVE-2022-4371
- Published
- Jan 2, 2023
- Updated
- Apr 11, 2025
- Vendor
- S H Mohanjith
- Product
- Web Invoice
- Classifications
- CWE-89, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 2, 2023CVE publishedPublication date reported by the CVE source.
- Apr 11, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=2.1.3
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WPScan clear_log time-delay proof of conceptproof of concept · validated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo