Skip to content
Threat Feed
low advisory

Stored XSS Vulnerability in Phpgurukul Online Birth Certificate System

Phpgurukul Online Birth Certificate System version 1.0 is vulnerable to Stored Cross-Site Scripting (XSS) via the profile name field, allowing authenticated attackers to execute arbitrary JavaScript in the context of other users.

CVE search metadata

CVE search record: CVE-2024-57175. Severity: medium. CVSS: 5.4. EPSS: 0.28%. KEV: no. Product: Online Birth Certificate System (1.0). Brief: Stored XSS Vulnerability in Phpgurukul Online Birth Certificate System. Brief link: https://feed.craftedsignal.io/briefs/2026-08-cve-2024-57175/

A stored cross-site scripting (XSS) vulnerability exists in the Phpgurukul Online Birth Certificate System version 1.0. The vulnerability resides within the 'profile_name' parameter of the '/user/certificate-form.php' script. An attacker with authenticated access can inject malicious JavaScript payloads into the profile name field. When this data is rendered by the application, the payload executes within the victim's browser session. This vulnerability poses a risk to data integrity and session security, as an attacker could potentially steal session tokens or manipulate the victim's view of the application. The vulnerability is identified as CVE-2024-57175 and carries a CVSS score of 5.4. Public proof-of-concept code is available, increasing the likelihood of exploitation by malicious actors targeting this specific application.

Attack Chain

  1. Attacker gains valid credentials for a standard user account in the Phpgurukul Online Birth Certificate System.
  2. Attacker authenticates to the application using these credentials.
  3. Attacker navigates to the 'certificate-form.php' endpoint within the user portal.
  4. Attacker intercepts or crafts a POST request to update the profile information.
  5. Attacker injects a malicious JavaScript payload (e.g., <script>alert(1)</script>) into the 'profile_name' parameter.
  6. The application stores the malicious payload in the underlying database without proper sanitization.
  7. A victim user (or the attacker) accesses the page where the profile name is rendered.
  8. The victim's browser renders the stored payload, executing the JavaScript in the user's session context.

Impact

Successful exploitation allows for arbitrary client-side code execution in the context of the user's browser. This can lead to unauthorized actions performed on behalf of the user, theft of session cookies, or the exfiltration of sensitive information displayed on the page.

Recommendation

  1. Implement strict input validation and sanitization for all user-supplied data, specifically for the 'profile_name' field in the 'certificate-form.php' script.
  2. Employ context-aware output encoding when rendering user-generated content in the browser to neutralize potential XSS payloads.
  3. Enforce the use of a Content Security Policy (CSP) to restrict the sources from which scripts can be executed.
  4. Ensure all authenticated sessions are protected by modern browser security headers to mitigate session hijacking risks.

Immediate actions

Deploy WAF rules to filter common XSS payloads in POST requests to /user/certificate-form.php.

SOC 24h

Threat Hunt

Search web logs for POST requests to /user/certificate-form.php containing suspicious script tags.

T1190 high high confidence hunt now

Data: webserver access logs

Mitigations

Review application code to implement sanitization for the profile_name field.

immediate IT Operations

CVE-2024-57175

Detection coverage 1

Detect CVE-2024-57175 Exploitation - Stored XSS Attempt

medium

Detects potential stored XSS attempts by monitoring web server logs for HTTP POST requests to certificate-form.php containing common XSS script tags.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →