Skip to content

Instantly share code, notes, and snippets.

@tansique-17
Last active June 19, 2025 05:10
Show Gist options
  • Select an option

  • Save tansique-17/6e01bb1b8a09ef499a9b8484a8dc2487 to your computer and use it in GitHub Desktop.

Select an option

Save tansique-17/6e01bb1b8a09ef499a9b8484a8dc2487 to your computer and use it in GitHub Desktop.
CVE-2025-26199

πŸ›‘οΈ CVE-2025-26199 β€” Insecure Password Transmission via Cleartext in CloudClassroom-PHP-Project v1.0

πŸ“„ Description

CloudClassroom-PHP-Project v1.0 is vulnerable to insecure transmission of user credentials. During the authentication process, passwords are submitted over unencrypted HTTP rather than HTTPS. This exposes sensitive information (i.e., usernames and passwords) to interception by network-based attackers using packet sniffing or Man-in-the-Middle (MitM) attacks.

If an attacker captures valid admin credentials, they may log in and potentially exploit additional application functionality (e.g., file upload or remote shell injection) to achieve remote code execution, depending on the deployment context and system configuration.

πŸ“¦ Affected Product

πŸ’₯ Impact

  • Credential Interception: Passwords transmitted in cleartext can be stolen by attackers on the same network.
  • Account Takeover: Captured credentials can be reused to gain admin access.
  • Remote Code Execution (in chained scenarios): If the admin panel includes file uploads or other critical operations, attackers can achieve code execution.

🌐 Vulnerable Endpoint

POST http://localhost/CloudClassroom-PHP-Project-master/loginlinkadmin.php

πŸ§ͺ Steps to Reproduce

  1. Clone the Repository

    git clone https://github.com/mathurvishal/CloudClassroom-PHP-Project.git
  2. Host the Application

    • Use XAMPP, LAMP, or any local server stack.
    • Access via: http://localhost/CloudClassroom-PHP-Project-master/loginlinkadmin.php
  3. Perform Login over HTTP

    • Intercept the request using a proxy tool (e.g., Burp Suite or Wireshark).
    • Observe the password sent in plaintext over an unencrypted channel.
  4. Attack Vector

    • An attacker in a shared network environment captures the HTTP request and retrieves credentials from the payload.

πŸ›‘οΈ Recommendations

  • Enforce HTTPS for all authentication and sensitive endpoints.
  • Configure web server to redirect all HTTP traffic to HTTPS.
  • Educate users to never enter credentials on HTTP pages.
  • Use HSTS (HTTP Strict Transport Security) to prevent protocol downgrades.

🧩 CWE Classification

πŸ“Š CVSS v3.1 (Base Score)

  • Score: 8.1 (High)
  • Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

πŸ“… Timeline

Event Date
Vulnerability Discovered 15 April 2025
Public Disclosure 18 June 2025
Patch Available No

πŸ§‘β€πŸ’» Credit

This vulnerability was discovered and responsibly disclosed by:

Tansique Dasari
πŸ“§ tansique.d@gmail.com
πŸ”— https://github.com/tansique-17

πŸ”— References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment