CVE-2024-12895 TreasureHuntGame TreasureHunt checkflag.php console_log sql injection
Remote attackers can exploit SQL injection in the console_log function to read or modify 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-12895?
CVE-2024-12895 is a medium-severity SQL injection vulnerability in TreasureHuntGame TreasureHunt, published on 22 Dec 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been found in TreasureHuntGame TreasureHunt up to 963e0e0 and classified as critical. Affected by this vulnerability is the function console_log of the file TreasureHunt/checkflag.php. The manipulation of the argument problema leads to sql injection. The attack can be launched remotely. The identifier of the patch is 8bcc649abc35b7734951be084bb522a532faac4e. It is recommended to apply a patch to fix this issue.
Which versions are affected by CVE-2024-12895?
It affects 1 product.
Products include Treasurehuntgame Treasurehunt.
How do I fix CVE-2024-12895?
No fix has been published for CVE-2024-12895 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-12895 being exploited?
There is no known exploitation of CVE-2024-12895 in the wild and no public exploit code.
Other vulnerabilities in TreasureHuntGame TreasureHunt
Sources
Also known as GHSA-v257-5gpw-8qxg.