LiveActive security incident?Get immediate response
CVE Record

CVE-2021-27137: An issue was discovered in router/upnp/src/ssdp.c in DD-WRT before 45724.

An issue was discovered in router/upnp/src/ssdp.c in DD-WRT before 45724. An unsafe strcpy in the UPnP handling functionality allows an unauthenticated remote attacker to send a request that would overflow an internal fixed buffer. Exploitation requires the DD-WRT user to enable UPnP (which is off by default, and only listens on internal interfaces by default). This occurs in ssdp_msearch (reachable by an M-SEARCH request).

HighCVSS 8.1Known exploitedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-27137 is a DD-WRT UPnP buffer overflow affecting builds before 45724. It matters because vulnerable routers can be compromised without authentication when UPnP is enabled. UPnP is reportedly off by default and limited to internal interfaces by default, which narrows exposure but does not remove risk.

Executive priority

Treat this as urgent for DD-WRT environments because CISA identifies active exploitation. Priority is highest for routers using UPnP or reachable from less trusted networks.

Technical view

The flaw is an unsafe strcpy in router/upnp/src/ssdp.c, in ssdp_msearch, reachable through UPnP M-SEARCH handling. It is classified as CWE-121 with CVSS 3.1 score 8.1. Exploitation requires UPnP to be enabled; the vulnerable path is unauthenticated and network-reachable in that configuration.

Likely exposure

Likely exposure is DD-WRT devices running builds before 45724 with UPnP enabled, especially where internal network compromise or misconfiguration makes UPnP reachable.

Exploitation context

CISA KEV lists this CVE as known exploited. Public reporting also ties it to C0xmo/Gafgyt botnet activity against DD-WRT routers. The bundle does not prove every vulnerable configuration is internet-exposed.

Researcher notes

Sources identify the vulnerable function and fixed DD-WRT changeset but do not provide complete environmental prevalence. Avoid assuming exposure unless UPnP state, build number, and interface reachability are confirmed.

Mitigation direction

  • Upgrade DD-WRT to build 45724 or later where supported.
  • Disable UPnP if it is not operationally required.
  • Restrict UPnP access to trusted internal interfaces only.
  • Check current DD-WRT and CISA guidance for any new vendor instructions.
  • Monitor routers for unexpected processes, traffic spikes, or configuration changes.

Validation and detection

  • Inventory DD-WRT routers and record build numbers.
  • Confirm whether UPnP is enabled on each device.
  • Verify UPnP is not reachable from untrusted networks.
  • Prioritize devices below build 45724 for remediation.
  • Review logs and network telemetry for unusual router-originated activity.
Prepared
Confidence
high
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-121: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-27137 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.1)
Known Exploited
Yes
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
5Timeline events
1ADP providers
7Source links

CISA KEV status

Status
Known exploited
Source
CISA-ADP
Date added
KEV reference

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: activeAutomatable: noTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9mitre

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2021-27137Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. Added to KEVCISA-ADP

    CISA Known Exploited Vulnerabilities metadata lists this CVE as known exploited.

  4. ADP timelineCISA-ADP

    CVE-2021-27137 added to CISA KEV

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvcother:kev
  • 2026-07-21T00:00:00.000Z: CVE-2021-27137 added to CISA KEV
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
DD-WRTDD-WRT0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-121 · source CWE mapping

Stack-based Buffer Overflow

Stack-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.