CVE-2025-34039
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA code injection vulnerability exists in Yonyou UFIDA NC v6.5 and prior due to the exposure of the BeanShell testing servlet (bsh.servlet.BshServlet) without proper access controls. The servlet allows unauthenticated remote attackers to execute arbitrary Java code via the bsh.script parameter. This can be exploited to run system commands and ultimately gain full control over the target server. The issue is rooted in a third-party JAR component bundled with the application, and the servlet is accessible without authentication on vulnerable installations. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-05 UTC.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceYonyou UFIDA NC v6.5 and prior exposes the BeanShell testing servlet (bsh.servlet.BshServlet) from a bundled third-party JAR without any authentication. Unauthenticated remote attackers can inject and execute arbitrary Java code through the bsh.script parameter, enabling full system command execution and complete server compromise.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- None
- Scope
- X
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Yonyou UFIDA NC installationLocate the UFIDA NC installation directory - commonly found under /nc, /ufida/nc, or C:/ufida/nc in the application server's webapp folder. Check for the presence of nc.jar or UFTaskHandler.class files.Affected if The product is installed on the system.
-
Determine installed UFIDA NC versionCheck the version by inspecting the NC's version file (often named version.properties, version.ini, or in the about page of the web interface), or by querying the NC's built-in version endpoint if available. Compare against v6.5 and prior.Affected if The installed version is Yonyou UFIDA NC v6.5 or any prior version.
-
Verify BeanShell servlet is exposedAttempt to access the BeanShell testing servlet endpoint - typically at paths like /servlet/bsh.servlet.BshServlet, /bsh, /beanShell, or /bsh.servlet.BshServlet under the NC context. Send an HTTP GET request without authentication credentials.Affected if The servlet responds with a BeanShell interpreter page or accepts bsh.script parameters without requiring authentication.
-
Check for vulnerable BeanShell JARSearch for the bsh.jar file in the application lib directories - commonly in WEB-INF/lib or nc_home/lib folders. Typical filenames include bsh-2.0.jar, bsh-1.3.0.jar, or beanshell-2.x.jar.Affected if The BeanShell JAR file exists in the application deployment.
-
Test for remote code executionSend a benign HTTP POST request to the BeanShell servlet endpoint with parameter bsh.script=print(getProperty("java.version")); to verify code execution capability. This should return Java version information if vulnerable.Affected if The server executes the BeanShell script and returns the result without authentication.
A user is affected if Yonyou UFIDA NC v6.5 or prior is installed AND the BeanShell servlet (bsh.servlet.BshServlet) is accessible without authentication, allowing arbitrary code execution via the bsh.script parameter.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataImmediately restrict or disable the bsh.servlet.BeshServlet endpoint, remove the vulnerable BeanShell JAR from the application, or deploy authentication controls on the servlet. Network segmentation can limit exposure until proper remediation is applied.
- Consultation8.0 h
- Implementation16.0 h
- Testing12.0 h
- Review / QA6.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $11,776.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-34039 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-34039 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data