Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach backend report interface
-
DeliverySubmit crafted sqlResource.sql payload
-
ExploitPayload stored in t_report_sql_resource
-
ExecutionExecuted as Hibernate native query
-
ImpactRead or modify database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires reaching the smart-web2 backend report module and submitting a report definition via the ReportController.save() interface with a crafted sqlResource.sql value; that value is stored in t_report_sql_resource and later run as a Hibernate native query. The limiting factor is access to this 'backend' report-authoring interface: in this OA product it is normally an authenticated admin/operator function, so realistic exploitation depends on obtaining or bypassing operator-level access, not on a fully anonymous internet request despite the input vector's PR:N. No special non-default configuration or user interaction is otherwise needed once the interface is reachable. |
| Impact | The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H, score 9.8) rates this critical and unauthenticated, but the flaw sits in the application 'backend' report module, which in this class of OA product is typically an authenticated admin/operator area - so real PR is likely L rather than N, and I have downgraded my independent assessment accordingly. Counter-signals reinforce a measured priority: EPSS is only 0.15% (5th percentile), there is no CISA KEV entry, and the sole reference is a single third-party GitHub write-up rather than vendor confirmation or a mass-exploitation report. That said, SQL injection with full read/write database impact is trivially weaponizable once an attacker has interface access, so any organization running smart-web2 v1.3.1 - even a small internal single-instance deployment - should patch or restrict the report interface promptly rather than relying on the low EPSS. The overall picture is a genuinely serious code-level bug in a niche product with currently low observed exploitation. |
| Exploit ScenarioDerived | An attacker who can reach the backend report module submits a report definition whose sqlResource.sql field contains a malicious SQL payload (e.g. a UNION SELECT or stacked statement); the payload is stored in t_report_sql_resource and executed verbatim as a Hibernate native query, letting the attacker dump credentials or tamper with records. The public GitHub write-up documents the vulnerable parameter and code path, lowering the effort to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
SQL injection in the smart-web2 v1.3.1 backend report module lets attackers execute arbitrary SQL because the sqlResource.sql parameter, saved via ReportController.save() into the t_report_sql_resource table, is concatenated directly into Hibernate native queries without parameterization or filtering. Any actor able to reach the report-save interface can read, modify, or destroy database contents. No CISA KEV listing exists and EPSS is low (0.15%), but a public write-up detailing the flaw is available on GitHub.
RemediationAI
No vendor-released patch identified at time of analysis, so the primary control is to parameterize the query: replace the raw Hibernate native-query concatenation with bound parameters (createNativeQuery with setParameter) or an allowlist-validated query builder, and rebuild from source. As compensating controls until a fix ships, restrict network access to the report/save endpoints (e.g. block or authenticate the reportController paths at a reverse proxy), enforce strong authentication and least-privilege roles on the backend so only trusted operators reach ReportController.save(), and run the application's database account with minimal privileges (no DROP/FILE/xp_cmdshell-equivalent) to cap the blast radius - the trade-off is that legitimate report authors who rely on custom SQL will lose that capability or need elevated review. Monitor the upstream GitHub project for an official patched release. Write-up: https://github.com/fangtang7/CVE/blob/main/smart-web2/smart-web2%20v1.3.1%20SQL%20Injection.md.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
smart-web2 is a lightweight Java/Spring OA (office automation) web application that uses Hibernate as its ORM. The vulnerability is a classic CWE-89 SQL injection: rather than binding user input to placeholders, the report module persists a user-supplied SQL fragment (sqlResource.sql) and later feeds it into a Hibernate native SQL query (createSQLQuery / createNativeQuery) as a raw string. Because native queries bypass HQL abstraction and hit the database directly, the injected content is interpreted verbatim by the underlying DBMS, giving the attacker the full expressive power of the backend database dialect. The affected build is smart-web2 v1.3.1; NVD/EUVD carry only placeholder CPE data (cpe:2.3:a:n/a:n/a) so the exact CPE is not authoritatively registered.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable SQL injection with full DB read/write, but the backend report interface is normally operator-authenticated, so PR:L rather than PR:N.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
The report module in the backend of smart-web2 v1.3.1 is vulnerable to arbitrary SQL execution. The sqlResource.sql parameter is stored in the t_report_sql_resource table through the ReportController.save() interface and directly embedded into Hibernate native queries without any parameterization or filtering.
Executive ViewAI
A SQL injection vulnerability in smart-web2 v1.3.1 exposes the entire database to compromise by any user with access to the report-save function. Publicly available exploit code exists, though active exploitation is not yet confirmed. This poses an immediate data integrity and confidentiality risk; without a vendor patch available, remediation must begin within 24 hours.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict network access to the report-save endpoint to trusted administrative networks; (2) deploy WAF rules to detect and block SQL injection syntax in the sqlResource.sql parameter; (3) enforce principle of least privilege at the database layer so the application service account cannot execute DROP, ALTER, or DELETE commands; (4) disable the report-save feature entirely if operationally feasible; (5) enable database audit logging and configure alerts for anomalous or bulk query activity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
EUVD-2026-66700
GHSA-hfc5-mvhw-gffp
NVD
CVE.org
EPSS
Exploit-DB