CVE-2026-10202
SQL Injection in OFCMS via JSON Query Interface
Publication date: 2026-06-01
Last updated on: 2026-06-01
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| ofsoft | ofcms | 1.1.3 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-10202 is an SQL injection vulnerability found in OFCMS version 1.1.3. It exists in the SystemDictController.java component, specifically in the /admin/system/dict/query.json interface.
The vulnerability arises because the 'field' parameter is improperly validated and directly appended to the ORDER BY clause in backend SQL queries without sanitization.
Attackers can exploit this flaw by injecting malicious SQL expressions through the 'field' parameter, enabling blind SQL injection attacks that can extract sensitive data such as admin passwords.
The vulnerability was demonstrated by successfully extracting the admin user's password (user_id=1) using carefully crafted payloads.
How can this vulnerability impact me? :
This vulnerability allows remote attackers to perform blind SQL injection attacks on the affected system.
Exploitation can lead to unauthorized extraction of sensitive data, including administrator passwords.
Such unauthorized access can compromise the confidentiality, integrity, and availability of the system and its data.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the /admin/system/dict/query.json interface for SQL injection via the 'field' parameter. Specifically, sending crafted requests with malicious SQL payloads in the 'field' parameter and observing if the backend SQL query is improperly executed can reveal the vulnerability.
For example, you can use curl or similar tools to send requests with SQL injection payloads to the endpoint and check for abnormal responses or error messages indicating SQL injection.
- curl -X GET 'http://<target>/admin/system/dict/query.json?field=1%20UNION%20SELECT%20user(),version()--'
- curl -X GET 'http://<target>/admin/system/dict/query.json?field=1 ORDER BY 1--'
- Use automated SQL injection detection tools (e.g., sqlmap) targeting the 'field' parameter on the /admin/system/dict/query.json endpoint.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include filtering and sanitizing user input, especially the 'field' parameter used in SQL queries.
Implement a whitelist of allowed fields that can be used in the ORDER BY clause to prevent arbitrary SQL injection.
Restrict access to the vulnerable endpoint to trusted users or networks until a patch or fix is available.
Monitor logs for suspicious activity targeting the /admin/system/dict/query.json interface.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
This SQL injection vulnerability in OFCMS 1.1.3 allows attackers to extract sensitive data such as admin passwords by exploiting improper input validation in the JSON Query Interface.
Such unauthorized access to sensitive data can lead to violations of data protection regulations like GDPR and HIPAA, which require the protection of personal and sensitive information from unauthorized disclosure.
Failure to mitigate this vulnerability could result in non-compliance with these standards due to potential data breaches and inadequate security controls.