Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-10762 Overview
CVE-2025-10762 is a SQL injection vulnerability affecting kuaifan DooTask versions up to 1.2.49. The flaw resides in the app/Http/Controllers/Api/UsersController.php file, where the keys[department] parameter is passed into a database query without proper sanitization. An authenticated remote attacker can manipulate this parameter to inject arbitrary SQL statements. The exploit has been publicly disclosed, increasing the likelihood of opportunistic abuse against exposed DooTask instances. The weakness is categorized under CWE-74: Improper Neutralization of Special Elements in Output.
Critical Impact
Authenticated attackers can inject SQL queries through the keys[department] parameter, potentially exposing or modifying data stored in the DooTask database.
Affected Products
- kuaifan DooTask versions up to and including 1.2.49
- DooTask API UsersController endpoint handling the keys[department] parameter
- Deployments exposing the DooTask API over the network
Discovery Timeline
- 2025-09-21 - CVE-2025-10762 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-10762
Vulnerability Analysis
The vulnerability exists in the user listing or filtering logic within UsersController.php. DooTask accepts a keys[department] request parameter and incorporates its value into a SQL query without parameterized binding or input validation. An attacker with low-privilege API access can supply crafted SQL fragments through this parameter to alter query logic.
Successful exploitation can disclose user records, modify database contents, or extract credential-related metadata depending on the underlying database engine and account permissions. The attack requires only standard authenticated access and no user interaction, allowing it to be scripted against reachable DooTask deployments.
Root Cause
The root cause is improper neutralization of user-supplied input before use in a SQL query. The controller trusts the keys[department] value from the request and concatenates it into a query string instead of binding it as a prepared statement parameter. This design flaw allows SQL metacharacters to escape the intended query context.
Attack Vector
Exploitation occurs over the network against the DooTask HTTP API. The attacker sends a crafted API request containing a malicious payload in the keys[department] field. Because exploit details are publicly available through the referenced GitHub Issue Discussion and VulDB entry #325117, reproducing the attack is straightforward for an authenticated adversary.
No verified exploit code is reproduced here. Refer to the public references for proof-of-concept technical details.
Detection Methods for CVE-2025-10762
Indicators of Compromise
- HTTP requests to DooTask API endpoints containing SQL metacharacters such as ', --, UNION, or SLEEP( within the keys[department] parameter
- Unexpected database query errors or long-running queries originating from the DooTask application user
- Anomalous volumes of user-enumeration or department-filtering API calls from a single authenticated session
Detection Strategies
- Inspect web server and application logs for keys[department] parameters containing non-alphanumeric payloads
- Deploy a web application firewall (WAF) ruleset tuned to flag SQL injection patterns targeting the DooTask API path
- Enable database query logging and alert on queries that reference the users or department tables with syntactically unusual constructs
Monitoring Recommendations
- Correlate authenticated API traffic with database error rates to surface injection attempts early
- Track outbound data volumes from the DooTask database host for signs of mass extraction
- Review authentication logs for low-privilege accounts issuing high-volume or scripted API calls
How to Mitigate CVE-2025-10762
Immediate Actions Required
- Restrict network exposure of the DooTask API to trusted users and networks only
- Rotate API tokens and user credentials that may have been exposed through injection
- Audit the DooTask database for unauthorized reads, writes, or new administrative accounts
- Monitor the upstream GitHub issue for a vendor-released fix and apply it when available
Patch Information
At the time of publication, no official vendor patch is referenced in the NVD data for versions beyond 1.2.49. Administrators should track the kuaifan DooTask GitHub repository and the referenced VulDB entry #325117 for remediation updates. Once a patched release is available, upgrade all DooTask instances to that version.
Workarounds
- Place the DooTask API behind a WAF with signatures that block SQL injection patterns in keys[*] parameters
- Remove or disable low-privilege user accounts that do not require API access to limit attack surface
- Apply least-privilege database permissions to the DooTask database user, denying DROP, ALTER, and cross-database access where feasible
- Consider a temporary reverse-proxy rule that rejects requests containing SQL metacharacters in the vulnerable parameter until a vendor patch is deployed
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

