CVE-2025-50240
BaseFortify
Publication date: 2025-07-17
Last updated on: 2025-07-18
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| nbcio | nbcio-boot | 1.0.3 |
| spring | spring_boot | 2.7.18 |
| redis | redis | * |
| logback | logback | * |
| jsqlparser | jsqlparser | 4.6 |
| apache | poi | * |
| jwt | jwt | 3.11.0 |
| jimu | jimureport | 1.6.6 |
| quartz | quartz | * |
| lombok | lombok | * |
| mybatis | mybatis-plus | 3.5.5 |
| fastjson | fastjson | * |
| swagger | swagger-ui | * |
| apache | shiro | 1.13.0 |
| alibaba | druid | 1.1.22 |
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. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-50240 is a SQL injection vulnerability in nbcio-boot version 1.0.3 and earlier. It occurs via the userIds parameter at the /sys/user/deleteRecycleBin endpoint. This flaw allows an attacker to inject and execute unauthorized SQL queries on the backend database, potentially compromising the system's data integrity and confidentiality. [1]
How can this vulnerability impact me? :
This vulnerability can allow an attacker to execute arbitrary SQL commands, which may lead to unauthorized access to sensitive information stored in the database. It can result in data leakage, data modification, or deletion, potentially disrupting the normal operation of the affected system and exposing confidential enterprise data. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the /sys/user/deleteRecycleBin endpoint for SQL injection via the userIds parameter. You can use tools like curl or sqlmap to send crafted requests to this endpoint and observe if SQL injection is possible. For example, using curl: curl -X POST 'http://<target>/sys/user/deleteRecycleBin' -d 'userIds=1 OR 1=1' and checking for unexpected responses or errors. Alternatively, sqlmap can be used to automate detection: sqlmap -u 'http://<target>/sys/user/deleteRecycleBin' --data='userIds=1' --risk=3 --level=5. Monitoring logs for suspicious SQL errors or unusual database queries related to this endpoint can also help detect exploitation attempts. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include updating nbcio-boot to a version later than 1.0.3 where the SQL injection vulnerability is fixed. If an update is not immediately available, restrict access to the /sys/user/deleteRecycleBin endpoint to trusted users only, implement input validation and parameterized queries to prevent SQL injection, and monitor logs for suspicious activity. Additionally, consider applying web application firewall (WAF) rules to block malicious payloads targeting the userIds parameter. [1]