Cyber Posture

CVE-2024-57686

CriticalPublic PoC

Published: 10 January 2025

Published
10 January 2025
Modified
28 March 2025
KEV Added
Patch
CVSS Score 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0098 76.9th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-57686 is a critical-severity Cross-site Scripting (CWE-79) vulnerability in Phpgurukul Land Record System. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 23.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-15 (Information Output Filtering).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly prevents XSS by filtering output to web pages, blocking execution of malicious scripts injected via the unsanitized pagetitle parameter.

prevent

Enforces input validation on parameters like pagetitle at system entry points, rejecting malicious XSS payloads before processing.

prevent

Restricts input to the pagetitle parameter to approved formats and lengths, limiting the feasibility of crafting effective XSS payloads.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1539 Steal Web Session Cookie Credential Access
An adversary may steal web application or service session cookies and use them to gain access to web applications or Internet services as an authenticated user without needing credentials.
Why these techniques?

Reflected XSS in public-facing web application (/admin/contactus.php) enables exploitation of public-facing applications (T1190) and facilitates stealing web session cookies via injected JavaScript (T1539).

NVD Description

A Cross Site Scripting (XSS) vulnerability was found in /landrecordsys/admin/contactus.php in PHPGurukul Land Record System v1.0, which allows remote attackers to execute arbitrary code via the "pagetitle" parameter.

Deeper analysisAI

CVE-2024-57686 is a Cross-Site Scripting (XSS) vulnerability in PHPGurukul Land Record System version 1.0. The issue resides in the /landrecordsys/admin/contactus.php component, where the "pagetitle" parameter fails to properly sanitize user input. This allows remote attackers to inject malicious payloads, leading to the execution of arbitrary code. The vulnerability is associated with CWE-79 and carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), marking it as critical severity.

Any remote attacker can exploit this vulnerability without authentication, privileges, or user interaction, simply by crafting and sending a malicious request over the network to the vulnerable endpoint. Exploitation via the "pagetitle" parameter enables attackers to execute arbitrary code in the context of the victim's browser, potentially compromising confidentiality, integrity, and availability with high impact.

Advisories and mitigation details are available in community references, including a write-up PDF at https://github.com/Santoshcyber1/CVE-wirteup/blob/main/Phpgurukul/Land%20record/Reflected%20Cross%20Site%20Scripting.pdf and a notebook at https://github.com/lhRaMk7/notebook/blob/main/phar_rce. No official vendor patches or detailed mitigation steps are specified in the CVE publication dated 2025-01-10.

Details

CWE(s)

Affected Products

phpgurukul
land record system
1.0

CVEs Like This One

CVE-2024-57687Same product: Phpgurukul Land Record System
CVE-2025-25354Same product: Phpgurukul Land Record System
CVE-2025-25352Same product: Phpgurukul Land Record System
CVE-2025-25387Same product: Phpgurukul Land Record System
CVE-2025-25388Same product: Phpgurukul Land Record System
CVE-2025-25357Same product: Phpgurukul Land Record System
CVE-2025-25389Same product: Phpgurukul Land Record System
CVE-2025-25356Same product: Phpgurukul Land Record System
CVE-2025-25355Same product: Phpgurukul Land Record System
CVE-2025-63611Same vendor: Phpgurukul

References