zj1983 zz, Improper Authorization, CVE-2025-1847 (Critical)

Listen to this Post

How CVE-2025-1847 Works

This critical vulnerability in zj1983 zz (up to version 2024-8) allows remote attackers to bypass authorization checks due to improper session validation. The flaw occurs when processing user-supplied tokens without proper cryptographic verification, enabling privilege escalation. Attackers craft malicious requests with manipulated tokens to gain unauthorized access to admin functions. The lack of CSRF protection exacerbates the issue, allowing exploitation via cross-site requests.

DailyCVE Form

Platform: zj1983 zz
Version: <= 2024-8
Vulnerability: Auth bypass
Severity: Critical
Date: 05/25/2025

Prediction: Patch by 2025-07-15

What Undercode Say:

Analytics

  • Exploitability: High (remote, low complexity)
  • Affected Systems: All zj1983 zz deployments pre-2024-8
  • Attack Surface: Web interfaces with token-based auth

Exploitation Commands

curl -X POST http://target/api/admin -H "Token: malicious_payload"
import requests
exploit_url = "http://target/api/admin"
headers = {"Token": "forged_token"}
response = requests.post(exploit_url, headers=headers)
print(response.text)

Protection Measures

1. Patch: Upgrade to post-2024-8 versions.

2. WAF Rules:

location /api/ {
if ($http_token !~ "^[A-Za-z0-9-<em>]+.[A-Za-z0-9-</em>]+.[A-Za-z0-9-_]+$") {
return 403;
}
}

3. Mitigation: Disable legacy token auth.

Detection Script

def check_vulnerable(url):
test_payload = {"token": "invalid"}
r = requests.get(url + "/api/verify", params=test_payload)
return r.status_code == 200

References

  • Vendor advisory: N/A (unresponsive)
  • CWE-285: Improper Authorization

Sources:

Reported By: nvd.nist.gov
Extra Source Hub:
Undercode

Join Our Cyber World:

💬 Whatsapp | 💬 TelegramFeatured Image

Scroll to Top