{"id":"CVE-2024-12895","summary":"TreasureHuntGame TreasureHunt checkflag.php console_log sql injection","details":"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.","modified":"2026-08-12T03:51:38.843362707Z","published":"2024-12-22T14:00:13.671Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12895.json","unresolved_ranges":[{"extracted_events":[{"introduced":"963e0e0"},{"last_affected":"963e0e0"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"VulDB","cwe_ids":["CWE-74","CWE-89"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12895.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12895"},{"type":"ADVISORY","url":"https://vuldb.com/?id.289165"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.289165"},{"type":"FIX","url":"https://github.com/TreasureHuntGame/TreasureHunt/commit/8bcc649abc35b7734951be084bb522a532faac4e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/treasurehuntgame/treasurehunt","events":[{"introduced":"0"},{"fixed":"8bcc649abc35b7734951be084bb522a532faac4e"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-12895.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"}]}