CVE Vulnerabilities

CVE-2016-7964

Server-Side Request Forgery (SSRF)

Published: Oct 31, 2016 | Modified: Dec 02, 2016
CVSS 3.x
8.6
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

The sendRequest method in HTTPClient Class in file /inc/HTTPClient.php in DokuWiki 2016-06-26a and older, when media file fetching is enabled, has no way to restrict access to private networks. This allows users to scan ports of internal networks via SSRF, such as 10.0.0.1/8, 172.16.0.0/12, and 192.168.0.0/16.

Weakness

The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Affected Software

Name Vendor Start Version End Version
Dokuwiki Dokuwiki 2016-06-26a (including) 2016-06-26a (including)
Dokuwiki Ubuntu artful *
Dokuwiki Ubuntu bionic *
Dokuwiki Ubuntu cosmic *
Dokuwiki Ubuntu devel *
Dokuwiki Ubuntu esm-apps/bionic *
Dokuwiki Ubuntu esm-apps/xenial *
Dokuwiki Ubuntu precise *
Dokuwiki Ubuntu trusty *
Dokuwiki Ubuntu xenial *
Dokuwiki Ubuntu yakkety *
Dokuwiki Ubuntu zesty *

References