CVE-2025-34039 Yonyou NC BeanShell Command Injection
Unauthenticated attackers can execute arbitrary Java code via the exposed BeanShell servlet in Yonyou UFIDA NC, leading to full server compromise.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-34039?
CVE-2025-34039 is a critical code injection vulnerability in Yonyou Co., Ltd. UFIDA NC, published on 24 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A 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.
Weakness: CWE-306
Which versions are affected by CVE-2025-34039?
How do I fix CVE-2025-34039?
No fix has been published for CVE-2025-34039 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-34039 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34039 exists.
Sources
Also known as GHSA-r7hr-5f7j-xxrw.