CWEweakness
CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action
- Abstraction
- Variant
- Structure
- Simple
- Status
- Draft
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product performs reverse DNS resolution on an IP address to obtain the hostname and make a security decision, but it does not properly ensure that the IP address is truly associated with the hostname.
Common consequences
• Access Control: Gain Privileges or Assume Identity, Bypass Protection Mechanism — Attackers can spoof DNS names by either (1) compromising a DNS server and modifying its records (sometimes called DNS cache poisoning), or (2) having legitimate control over a DNS server associated with their IP address. It may be difficult for the product to detect if a trusted DNS server has been compromised. When the product performs a reverse DNS resolution for an IP address, if an attacker controls the DNS server for that IP address, then the attacker can cause the server to return an arbitrary hostname. As a result, the attacker may be able to bypass authentication, cause the wrong hostname to be recorded in log files to hide activities, or perform other attacks.
Potential mitigations
• [Architecture and Design] Use other means of identity verification that cannot be simply spoofed. Possibilities include a username/password or certificate.
• [Implementation] Perform proper forward and reverse DNS lookups to detect DNS spoofing.
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Observed examples
• CVE-2001-1488: Does not do double-reverse lookup to prevent DNS spoofing.
• CVE-2001-1500: Does not verify reverse-resolved hostnames in DNS.
• CVE-2000-1221: Authentication bypass using spoofed reverse-resolved DNS hostnames.
• CVE-2002-0804: Authentication bypass using spoofed reverse-resolved DNS hostnames.
• CVE-2001-1155: Filter does not properly check the result of a reverse DNS lookup, which could allow remote attackers to bypass intended access restrictions via DNS spoofing.
• CVE-2004-0892: Reverse DNS lookup used to spoof trusted content in intermediary.
• CVE-2003-0981: Product records the reverse DNS name of a visitor in the logs, allowing spoofing and resultant XSS.
Related
Attack pattern · CAPEC (4)
Observed example · CVE (7)
- CVE-2004-0892 Microsoft Proxy Server 2.0 and Microsoft ISA Server 2000 (which is included in Small Business Server 2000 and Small Business Server 2003… vulnerability
- CVE-2003-0981 FreeScripts VisitorBook LE (visitorbook.pl) logs the reverse DNS name of a visiting host, which allows remote attackers to spoof the origin… vulnerability
- CVE-2002-0804 Bugzilla 2.14 before 2.14.2, and 2.16 before 2.16rc2, when configured to perform reverse DNS lookups, allows remote attackers to bypass IP… vulnerability
- CVE-2001-1488 Open Projects Network Internet Relay Chat (IRC) daemon u2.10.05.18 does not perform a double-reverse DNS lookup, which allows remote… vulnerability
- CVE-2001-1500 ProFTPD 1.2.2rc2, and possibly other versions, does not properly verify reverse-resolved hostnames by performing forward resolution, which… vulnerability
- CVE-2001-1155 TCP Wrappers (tcp_wrappers) in FreeBSD 4.1.1 through 4.3 with the PARANOID ACL option enabled does not properly check the result of a… vulnerability
- CVE-2000-1221 The line printer daemon (lpd) in the lpr package in multiple Linux operating systems authenticates by comparing the reverse-resolved… vulnerability
Can precede · CWE (1)
- CWE-923 Improper Restriction of Communication Channel to Intended Endpoints weakness
Child of · CWE (2)
Referenced by CAPEC · weakness (4)
Referenced by CVE · weakness (36)
- CVE-2026-61546 AnkiMCP is an Anki addon that implements an MCP server, enabling AI assistants to interact with the Anki flashcard application. vulnerability
- CVE-2026-107292 Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. vulnerability
- CVE-2026-97875 Rojo's "rojo serve" HTTP API (default port 34872) has no Host/Origin header validation, making it vulnerable to DNS rebinding. vulnerability
- CVE-2026-61743 Chartbrew is an open-source web application that can connect directly to databases and APIs and use the data to create charts. vulnerability
- CVE-2026-61568 `@zereight/mcp-gitlab` is a Model Context Protocol server for GitLab. vulnerability
- CVE-2026-53708 ContextForge is an AI gateway, registry, and proxy that provides centralized discovery, guardrails, and management for MCP, A2A, and REST… vulnerability
- CVE-2026-57123 PraisonAI is a multi-agent teams system. vulnerability
- CVE-2026-55526 PraisonAI is a multi-agent teams system. vulnerability
- CVE-2026-56709 Grav before 3.9.2 fails to validate untrusted Host headers in the sendInvitationEmail() function when constructing token-bearing invitation… vulnerability
- CVE-2026-75514 BunkerWeb is an open-source, next-generation Web Application Firewall. vulnerability
- CVE-2026-63118 MCP Ruby SDK is the official Ruby SDK for Model Context Protocol servers and clients. vulnerability
- CVE-2026-55391 datamodel-code-generator generates Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro,… vulnerability
- CVE-2026-12635 GitLab has remediated an issue in GitLab CE/EE affecting all versions from 8.3 before 18.11.6, 19.0 before 19.0.3, and 19.1 before 19.1.1… vulnerability
- CVE-2026-46611 Glances is an open-source system cross-platform monitoring tool. vulnerability
- CVE-2026-36604 Mercusys AC12G (EU) V1 router with firmware AC12G(EU)_V1_200909 does not validate the HTTP Host header, enabling DNS rebinding attacks. vulnerability
- CVE-2026-42559 RMCP is an official Rust SDK for the Model Context Protocol. vulnerability
- CVE-2026-6874 A vulnerability was determined in ericc-ch copilot-api up to 0.7.0. vulnerability
- CVE-2026-33002 Jenkins 2.442 through 2.554 (both inclusive), LTS 2.426.3 through LTS 2.541.2 (both inclusive) performs origin validation of requests made… vulnerability
- CVE-2026-24281 Hostname verification in Apache ZooKeeper ZKTrustManager falls back to reverse DNS (PTR) when IP SAN validation fails, allowing attackers… vulnerability
- CVE-2026-28271 Kiteworks is a private data network (PDN). vulnerability
- CVE-2026-1490 The Spam protection, Anti-Spam, FireWall by CleanTalk plugin for WordPress is vulnerable to unauthorized Arbitrary Plugin Installation due… vulnerability
- CVE-2025-61430 Improper handling of DNS over TCP in Simple DNS Plus v9 allows a remote attacker with querying access to the DNS server to cause the server… vulnerability
- CVE-2025-59956 AgentAPI is an HTTP API for Claude Code, Goose, Aider, Gemini, Amp, and Codex. vulnerability
- CVE-2025-59163 vet is an open source software supply chain security tool. vulnerability
- CVE-2025-8036 Thunderbird cached CORS preflight responses across IP address changes. vulnerability
- CVE-2025-24010 Vite is a frontend tooling framework for javascript. vulnerability
- CVE-2024-53275 Home-Gallery.org is a self-hosted open-source web gallery to browse personal photos and videos. vulnerability
- CVE-2024-42364 Homepage is a highly customizable homepage with Docker and service API integrations. vulnerability
- CVE-2022-22364 IBM Cognos Controller 10.4.1, 10.4.2, and 11.0.0 is vulnerable to external service interaction attack, caused by improper validation of… vulnerability
- CVE-2023-52235 SpaceX Starlink Wi-Fi router GEN 2 before 2023.53.0 and Starlink Dish before 07dd2798-ff15-4722-a9ee-de28928aed34 allow CSRF (e.g., for a… vulnerability
Referenced by OWASP · mapped cwe (1)
- A07:2025 Authentication Failures Top 10 2025