Code Injection in py-django (Alpine package)



Published: 2014-04-26
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2014-0472
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
py-django (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Code Injection

EUVDB-ID: #VU32540

Risk: Medium

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

CVE-ID: CVE-2014-0472

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The django.core.urlresolvers.reverse function in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 allows remote attackers to import and execute arbitrary Python modules by leveraging a view that constructs URLs using user input and a "dotted Python path."

Mitigation

Install update from vendor's website.

Vulnerable software versions

py-django (Alpine package): 1.4.1-r0 - 1.5.5-r0

CPE2.3 External links

http://git.alpinelinux.org/aports/commit/?id=d8d38d0581575f676da3491e75ab136626276613
http://git.alpinelinux.org/aports/commit/?id=5044db2a0efc6ce6d34e1f5130a47e32960f4d3c
http://git.alpinelinux.org/aports/commit/?id=761bfcda159e2c226f63239c4d10c8cfbd88b01a


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###