Lucene search
+L

Nginx 0.7.61 - WebDAV Directory Traversal

🗓️ 23 Sep 2009 00:00:00Reported by kingcopeType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 72 Views

Nginx webdav directory traversal bug in version 0.7.6

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-3898
23 Sep 200900:00
circl
cve
CVE
CVE-2009-3898
24 Nov 200917:00
cve
cvelist
Cvelist
CVE-2009-3898
24 Nov 200917:00
cvelist
debiancve
Debian CVE
CVE-2009-3898
24 Nov 200917:00
debiancve
euvd
EUVD
EUVD-2009-3869
7 Oct 202500:30
euvd
nessus
Tenable Nessus
GLSA-201203-22 : nginx: Multiple vulnerabilities
21 Jun 201200:00
nessus
nessus
Tenable Nessus
nginx < 0.7.63 / 0.8.x < 0.8.17 Directory Traversal
9 Mar 201800:00
nessus
gentoo
Gentoo Linux
nginx: Multiple vulnerabilities
28 Mar 201200:00
gentoo
nginx
Nginx
Directory traversal vulnerability
24 Nov 200917:00
nginx
nvd
NVD
CVE-2009-3898
24 Nov 200917:30
nvd
Rows per page
Bug Title: nginx webdav copy/move method directory traversal
Program: nginx
Version: nginx/0.7.61 - other versions may also be affected
Website: http://sysoev.ru/nginx/
Severity: Low
Date discovered: 23 September 2009

The webdav component has to be enabled and the user has to have
permission to use the COPY or MOVE methods.

Description:
nginx ("Engine X", written by Igor Sysoev) has the ability to be used
as a webdav publishing server.
With webdav you can for example copy or move files from
one to a different location. The move and copy methods require a
"Destination:" HTTP header.
The destination header contains information about where the file
should be placed.
By using characters like "../" the attacker can traverse down the
directory tree and place files
outside the webroot. This is an insecure behaviour of the nginx webdav
module and can be
especially dangerous when nginx is used in a virtual hosting
environment. nginx runs as the
user nobody per default so normally this bug is not a big deal since
an attacker may only
be allowed to write files to /tmp/ or nobody owned directories. The
severity is low because
this attack requires webdav "upload" permissions.

Here is a sample request for the bug:

COPY /index.html HTTP/1.1
Host: localhost
Destination: http://localhost/../../../../../../../tmp/nginx.html

Thanks for your time,

Kingcope - [email protected]

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

23 Sep 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 24.9
EPSS0.15887
72