CVE-2023-40221 Socomec MOD3GP-SY-120K Code Injection

High 8.8 Published Updated

Attackers can inject malicious code via the MAIL_RCV parameter, which executes when users view the mail server section.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-40221?

CVE-2023-40221 is a high-severity code injection vulnerability in Socomec MODULYS GP (MOD3GP-SY-120K), published on 18 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The absence of filters when loading some sections in the web application of the vulnerable device allows potential attackers to inject malicious code that will be interpreted when a legitimate user accesses the web section (MAIL SERVER) where the information is displayed. Injection can be done on parameter MAIL_RCV. When a legitimate user attempts to review NOTIFICATION/MAIL SERVER, the injected code will be executed.

Weakness: CWE-94

Which versions are affected by CVE-2023-40221?

It affects 1 product.

Products include Socomec Modulys Gp Firmware.

How do I fix CVE-2023-40221?

No fix has been published for CVE-2023-40221 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-2023-40221 being exploited?

There is no known exploitation of CVE-2023-40221 in the wild and no public exploit code.

Sources

Also known as GHSA-c534-95qp-3jw4.

Is CVE-2023-40221 in your software?

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

Check your SBOMs for free