Cloudanix VulnDB

CVE-2017-8798

Critical · 9.8

CVSS

9.8

EPSS

24.0%

Published

May 11, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in software that helps devices find each other on a network lets remote attackers crash systems or potentially seize control without any login.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Full Compromise
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Integer signedness error in MiniUPnP MiniUPnPc leads to memory corruption, enabling remote denial of service or potential arbitrary code execution.

Why it matters to the business

Remote attackers can disrupt network services or compromise systems handling device discovery, leading to outages and potential full system takeover on exposed deployments with moderate exploit probability.

How an attack unfolds

An attacker sends specially crafted network packets to a vulnerable MiniUPnP implementation; the signedness error triggers memory corruption that an available public exploit can leverage for DoS or code execution.

How to fix it

Upgrade affected MiniUPnP implementations to versions after 2.0; for harbor-fips-2.8 update to 2.8.5-r3.

How to confirm the fix worked

Confirm MiniUPnP library version exceeds 2.0 or matches the fixed harbor release, then retest with available proof-of-concept packets to verify absence of the signedness flaw.

Typical attack path

  1. Identify exposed MiniUPnP service via network scanning
  2. Craft and transmit malicious UPnP discovery packets
  3. Trigger integer signedness error causing memory corruption
  4. Achieve denial of service or escalate to code execution

How to detect it

Review network logs for anomalous UPnP traffic patterns, inspect process crashes or memory dumps around the MiniUPnP library, and correlate with known exploit packet signatures.

What your security team should do

  • Apply the listed fixed version immediately given public exploit availability
  • Disable UPnP functionality where not required
  • Monitor EPSS trend and restrict network exposure of affected services

The record

Integer signedness error in MiniUPnP MiniUPnPc v1.4.20101221 through v2.0 allows remote attackers to cause a denial of service or possibly have unspecified other impact.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 miniupnpc 0 1.9.20140610-3
Debian:12 miniupnpc 0 1.9.20140610-3
Debian:13 miniupnpc 0 1.9.20140610-3
Debian:14 miniupnpc 0 1.9.20140610-3
Debian:7 miniupnpc 0 1.5-2+deb7u2
Debian:8 miniupnpc 0 1.9.20140610-2+deb8u2
Mageia:5 miniupnpc 0 1.9.20141128-1.2.mga5
Ubuntu:14.04:LTS miniupnpc 0 1.6-3ubuntu2.14.04.3
Ubuntu:16.04:LTS miniupnpc 0 1.9.20140610-2ubuntu2.16.04.1

Related vulnerabilities