CVE-2023-5785 Netentsec NS-ASG Application Security Gateway addaddress_interpret.php sql injection

Medium 5.5 Published Updated

Attackers can perform SQL injection via the messagecontent parameter in the firewall address addition script, potentially accessing or modifying database contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-5785?

CVE-2023-5785 is a medium-severity SQL injection vulnerability in Netentsec NS-ASG Application Security Gateway, published on 26 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in Netentsec NS-ASG Application Security Gateway 6.3. It has been classified as critical. This affects an unknown part of the file /protocol/firewall/addaddress_interpret.php. The manipulation of the argument messagecontent leads to sql injection. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-243591. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-89

Which versions are affected by CVE-2023-5785?

It affects 1 product.

Products include Netentsec Application Security Gateway.

How do I fix CVE-2023-5785?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2023-5785 being exploited?

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

Sources

Also known as GHSA-67m4-98hp-4pcp.

Is CVE-2023-5785 in your software?

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

Check your SBOMs for free