Debian DSA-4142-1 : uwsgi - security update

high Nessus Plugin ID 108419

Synopsis

The remote Debian host is missing a security-related update.

Description

Marios Nicolaides discovered that the PHP plugin in uWSGI, a fast, self-healing application container server, does not properly handle a DOCUMENT_ROOT check during use of the --php-docroot option, allowing a remote attacker to mount a directory traversal attack and gain unauthorized read access to sensitive files located outside of the web root directory.

Solution

Upgrade the uwsgi packages.

For the oldstable distribution (jessie), this problem has been fixed in version 2.0.7-1+deb8u2. This update additionally includes the fix for CVE-2018-6758 which was aimed to be addressed in the upcoming jessie point release.

For the stable distribution (stretch), this problem has been fixed in version 2.0.14+20161117-3+deb9u2.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891639

https://security-tracker.debian.org/tracker/CVE-2018-6758

https://security-tracker.debian.org/tracker/source-package/uwsgi

https://packages.debian.org/source/jessie/uwsgi

https://packages.debian.org/source/stretch/uwsgi

https://www.debian.org/security/2018/dsa-4142

Plugin Details

Severity: High

ID: 108419

File Name: debian_DSA-4142.nasl

Version: 1.10

Type: local

Agent: unix

Published: 3/19/2018

Updated: 4/30/2019

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.1

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 7

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:uwsgi, cpe:/o:debian:debian_linux:8.0, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/17/2018

Vulnerability Publication Date: 2/26/2018

Exploitable With

Elliot (uWSGI Path Traversal File Disclosure)

Reference Information

CVE: CVE-2018-7490

DSA: 4142