Skip to main content

Xinhu RockOA CVE-2025-63742

CRITICAL
SQL Injection (CWE-89)
2025-12-09 cve@mitre.org
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed RockOA login endpoint
  2. Delivery
    Send crafted request to setwxqy action
  3. Exploit
    Inject SQL via shouji/userid parameter
  4. Execution
    Extract admin accounts and password hashes
  5. Impact
    Crack hashes and authenticate as administrator

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 targets the setwxqy function in webmain/task/api/loginAction.php and requires sending unsanitized input through the shouji and userid request parameters to a reachable RockOA 2.7.0 instance. Because this is a login-side API endpoint, no authentication is needed (consistent with PR:N) and no user interaction is required. The primary limiting factors are that the target must be running the specific vulnerable version 2.7.0 and the loginAction.php API endpoint must be network-reachable (typically internet- or intranet-exposed); there is no indication that a non-default configuration is required.

Impact

Multiple signals align toward genuine priority for anyone running the affected product, but deployment footprint tempers the absolute risk. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes a remotely reachable, low-complexity flaw requiring no privileges or user interaction, and the CWE-89 classification plus the description (injection reachable via the shouji and userid parameters in loginAction.php, a pre-authentication login endpoint) are internally consistent with PR:N - a rare case where the vector and description agree cleanly. A public proof-of-concept is referenced (the vendor's own GitHub issue tracker), which raises practical exploitability. However, two important signals are MISSING from the input: there is no EPSS exploitation-probability score and no CISA KEV listing provided, so there is no evidence of active, in-the-wild exploitation - only that exploit code exists. The scope is also narrow: RockOA is a niche Chinese office-automation product, so despite the 9.8 rating this is not a mass-internet event on the scale of a ubiquitous-component flaw. Net assessment: a real, high-urgency issue for the specific population of RockOA 2.7.0 operators (unauthenticated, trivial, PoC-backed data theft), but a limited-blast-radius issue globally. The 9.8 severity reflects per-instance impact, not widespread prevalence.

Exploit ScenarioDerived

An unauthenticated attacker locates an internet-exposed RockOA 2.7.0 instance and sends a crafted request to the setwxqy action in loginAction.php, injecting SQL through the shouji or userid parameter. Because a public proof-of-concept exists on the vendor's issue tracker, exploitation requires little custom tooling; the attacker extracts administrator accounts, password hashes, and database schema, then leverages the recovered credentials for full application compromise.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

Unauthenticated SQL injection in Xinhu RockOA 2.7.0 allows remote attackers to extract sensitive information, including administrator credentials and database structure, via the shouji and userid parameters in the loginAction.php API endpoint. Publicly available exploit code exists, and the assessed impact is high confidentiality with limited integrity (CVSS 3.1 base score 8.2, C:H/I:L/A:N). No vendor patch is identified at time of analysis.

RemediationAI

No vendor-released patch is identified in the available data (absence of data, not confirmation of no patch). As an immediate compensating control, restrict network access to the vulnerable endpoint webmain/task/api/loginAction.php using firewall rules or reverse proxy ACLs, but this may block legitimate API functionality. Deploy a web application firewall (WAF) with virtual patching to block SQL injection attempts against the shouji and userid parameters, understanding that false positives may occur. If the login API is not essential, disable it entirely. Monitor logs for exploitation attempts and audit for unauthorized data access. Contact the vendor for an update and apply it when available; if compromise is suspected, rotate administrative credentials. Refer to https://github.com/rainrocka/xinhu/issues/14 for community mitigations.

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

The vulnerability is a CWE-89 SQL injection in the setwxqyAction function of webmain/task/api/loginAction.php in Xinhu RockOA 2.7.0. The shouji and userid parameters are not properly sanitized before being used in SQL queries, allowing attackers to inject arbitrary SQL commands. As this is a login-side API endpoint, authentication is not required (PR:N), and no user interaction is needed. The assessed CVSS vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N, indicating network-exploitable, unauthenticated attack with high confidentiality impact and low integrity impact. This aligns with the SQLi allowing disclosure of sensitive data such as admin password hashes and database schema, while modification of data may be limited or unproven. The affected CPE is cpe:2.3:a:rockoa:rockoa:2.7.0:*:*:*:*:*:*:*.

Know when PHP gets its next vulnerability

  • 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

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.2 HIGH

Unauthenticated network-reachable login endpoint gives AV:N/AC:L/PR:N/UI:N; impact is primarily data exfiltration (C:H) with limited write potential (I:L) and no stated availability effect (A:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

SQL Injection vulnerability in function setwxqyAction in file webmain/task/api/loginAction.php in Xinhu Rainrock RockOA 2.7.0 allowing attackers gain sensitive information, including administrator accounts, password hashes, database structure, and other critical data via the shouji and userid parameters.

Executive ViewAI

Why It Matters

Xinhu RockOA 2.7.0, an enterprise office automation platform used for internal workflow and document management, contains a critical SQL injection flaw in its login API endpoint that can expose administrator credentials and the underlying database structure. Because no vendor patch has been identified, any organization running this version remains exposed until it is isolated, remediated, or replaced, and the credentials obtained through this flaw could be reused to pivot into connected internal systems. Leadership should treat this as a credential-compromise risk rather than a single application bug, since administrative access to an OA platform typically carries broad reach across HR, finance, and document repositories.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: remove internet exposure and restrict access to trusted internal networks or VPN; deploy WAF/virtual patching rules targeting injection attempts on loginAction.php; enforce least-privilege database accounts; rotate administrator and service credentials; enable and monitor database and web server logging for exploitation attempts; consider temporarily disabling the affected endpoint if business operations permit.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche Chinese office-automation suite, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:rockoa:rockoa:2.7.0:*:*:*:*:*:*:*

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy