CVE-2022-50801

4.3 MEDIUM

📋 TL;DR

This vulnerability allows authenticated attackers to inject malicious scripts into JM-DATA ONU JF511-TV devices. When other users view the affected content, their browsers execute the attacker's scripts. Only users with authenticated access to version 1.0.67 of this specific device are affected.

💻 Affected Systems

Products:
  • JM-DATA ONU JF511-TV
Versions: 1.0.67
Operating Systems: Embedded firmware
Default Config Vulnerable: ⚠️ Yes
Notes: Requires authenticated access to exploit. The vulnerability exists in the web management interface of the optical network unit.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

An authenticated attacker could steal session cookies, perform actions as other users, or redirect users to malicious sites, potentially leading to full device compromise if combined with other vulnerabilities.

🟠

Likely Case

Attackers with legitimate credentials could deface interfaces, steal limited session data, or perform limited unauthorized actions within the device's web interface.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before reaching user browsers, preventing execution.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: HIGH

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires authenticated access. Public proof-of-concept details are available in security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://www.jm-data.com/

Restart Required: Yes

Instructions:

1. Check vendor website for firmware updates. 2. Download latest firmware. 3. Upload via device web interface. 4. Reboot device after update.

🔧 Temporary Workarounds

Input Validation Filter

all

Implement server-side input validation to sanitize user inputs before storage.

Not applicable - requires code changes

Output Encoding

all

Apply proper output encoding when displaying user-controlled content in web pages.

Not applicable - requires code changes

🧯 If You Can't Patch

  • Restrict access to device management interface to trusted networks only
  • Implement strong authentication controls and regularly rotate credentials

🔍 How to Verify

Check if Vulnerable:

Check device firmware version in web interface. If version is 1.0.67, device is vulnerable.

Check Version:

Login to device web interface and navigate to System Information or Status page

Verify Fix Applied:

After updating firmware, verify version number has changed from 1.0.67 and test XSS payloads no longer execute.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests containing script tags or JavaScript code in parameters
  • Multiple failed login attempts followed by successful authentication

Network Indicators:

  • HTTP requests with suspicious parameters containing script elements
  • Traffic to device management interface from unexpected sources

SIEM Query:

source="device_logs" AND (http_method="POST" AND (param="<script>" OR param="javascript:"))

🔗 References

📤 Share & Export