CVE-2024-2497 RaspAP raspap-webgui HTTP POST Request provider.php code injection

Medium 4.7 Published Updated

Remote attackers can execute arbitrary code via the country argument in provider.php, requiring authentication.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-2497?

CVE-2024-2497 is a medium-severity code injection vulnerability in raspap-webgui, published on 15 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability was found in RaspAP raspap-webgui 3.0.9 and classified as critical. This issue affects some unknown processing of the file includes/provider.php of the component HTTP POST Request Handler. The manipulation of the argument country leads to code injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-256919. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-94

Which versions are affected by CVE-2024-2497?

2 open source packages ship an affected version, including billz/raspap-webgui. It affects 1 product.

PackageAffectedFixed in
billz/raspap-webgui PackagistAll versions to 3.0.9None
billz/raspap-webgui PackagistAll versions to 3.0.9None

Products include Raspap Raspap.

How do I fix CVE-2024-2497?

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

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

Sources

Also known as GHSA-99wg-vmvq-2cp5.

Is CVE-2024-2497 in your software?

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

Check your SBOMs for free