CVE-2024-2562 PandaXGO PandaX role_menu.go InsertRole sql injection

Medium 6.3 Published Updated

Remote attackers can perform SQL injection via the roleKey argument in the InsertRole function, potentially reading or modifying database contents.

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-2024-2562?

CVE-2024-2562 is a medium-severity SQL injection vulnerability in PandaXGO PandaX, published on 17 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability, which was classified as critical, was found in PandaXGO PandaX up to 20240310. This affects the function InsertRole of the file /apps/system/services/role_menu.go. The manipulation of the argument roleKey leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-257061 was assigned to this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2024-2562?

It affects 1 product.

Products include Pandax Pandax.

How do I fix CVE-2024-2562?

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

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

Sources

Also known as GHSA-f3qg-4gp2-rr72.

Is CVE-2024-2562 in your software?

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

Check your SBOMs for free