Path traversal in SRI Mojolicious



Published: 2011-04-30 | Updated: 2020-12-06
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2011-1589
CWE-ID CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Mojolicious
Other software / Other software solutions

Vendor SRI

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Path traversal

EUVDB-ID: #VU45100

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2011-1589

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in Path.pm in Mojolicious before 1.16. A remote authenticated attacker can send a specially crafted HTTP request and remote attackers to read arbitrary files via a %2f.%2f (encoded slash dot dot slash) in a URI.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Mojolicious: 0.2 - 1.15

CPE2.3 External links

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622952
http://cpansearch.perl.org/src/KRAIH/Mojolicious-1.16/Changes
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058885.html
http://lists.fedoraproject.org/pipermail/package-announce/2011-April/058891.html
http://openwall.com/lists/oss-security/2011/04/17/1
http://openwall.com/lists/oss-security/2011/04/18/3
http://openwall.com/lists/oss-security/2011/04/18/7
http://perlninja.posterous.com/sharks-in-the-water
http://search.cpan.org/CPAN/authors/id/K/KR/KRAIH/Mojolicious-1.16.tar.gz
http://secunia.com/advisories/44051
http://secunia.com/advisories/44359
http://www.debian.org/security/2011/dsa-2221
http://www.osvdb.org/71850
http://www.securityfocus.com/bid/47402
http://www.vupen.com/english/advisories/2011/1072
http://www.vupen.com/english/advisories/2011/1093
http://bugzilla.redhat.com/show_bug.cgi?id=697229
http://exchange.xforce.ibmcloud.com/vulnerabilities/66830
http://github.com/kraih/mojo/commit/b09854988c5b5b6a2ba53cc8661c4b2677da3818
http://github.com/kraih/mojo/issues/114


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###