SecurityContext

CVE-2024-12895: TreasureHuntGame - SQL Injection

  • Cve: CVE-2024-12895
  • Name: TreasureHuntGame - SQL Injection
  • 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.
  • Impact: Remote attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
  • Remediation: Apply the patch with identifier 8bcc649abc35b7734951be084bb522a532faac4e to fix the vulnerability.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00553
  • Epss percentile: 0.47057
  • Assignee: [email protected]
  • Published at: 2024-12-22T14:15:04Z
  • Age in days: 702
  • Modified at: 2026-06-17T07:00:43Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-12895
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component
CWE-89Improper Neutralization of Special Elements used in an SQL Command

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/TreasureHuntGame/TreasureHunt/commit/8bcc649abc35b7734951be084bb522a532faac4ePatch
https://vuldb.com/?id.289165Third Party Advisory, VDB Entry
https://vuldb.com/?ctiid.289165Permissions Required, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
treasurehuntgame:treasurehunt< 2024-05-04nonvd/v1/products/treasurehuntgame/treasurehunt

Projects

RepositoryLink kindsIndexedUrl
TreasureHuntGame/TreasureHuntcommityes/v1/repositories/TreasureHuntGame/TreasureHunt

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts