CVE-2025-4768 feng_ha_ha/megagao ssm-erp/production_ssm PictureServiceImpl.java uploadPicture unrestricted upload

Medium 5.3 Published Updated

Attackers can upload malicious files via the uploadPicture function in the SSM ERP application, potentially leading to remote code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4768?

CVE-2025-4768 is a medium-severity vulnerability in feng_ha_ha production_ssm, published on 16 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as critical has been found in feng_ha_ha/megagao ssm-erp and production_ssm 1.0. This affects the function uploadPicture of the file PictureServiceImpl.java. The manipulation of the argument File leads to unrestricted upload. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. This product is distributed under two entirely different names.

Weakness: CWE-434, CWE-284

Which versions are affected by CVE-2025-4768?

How do I fix CVE-2025-4768?

No fix has been published for CVE-2025-4768 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-4768 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4768 exists.

Sources

Also known as GHSA-hr8h-w3fr-52jv.

Is CVE-2025-4768 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free