SQL injection in py-django (Alpine package)



Published: 2019-08-05
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-14234
CWE-ID CWE-89
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 high risk vulnerability.

1) SQL injection

EUVDB-ID: #VU19619

Risk: High

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

CVE-ID: CVE-2019-14234

CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data in django.contrib.postgres.fields.JSONField and django.contrib.postgres.fields.HStoreField. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.

Mitigation

Install update from vendor's website.

Vulnerable software versions

py-django (Alpine package): 1.7-r0 - 1.11.22-r0

py-django (Alpine package):

External links

http://git.alpinelinux.org/aports/commit/?id=a647ee3a77fb6aee5cd7f25d13c0521e5a7b9246
http://git.alpinelinux.org/aports/commit/?id=c7fc6af25f0b0cda600ac132b709aa32810a32aa
http://git.alpinelinux.org/aports/commit/?id=c9242d57e288ae0de776187324f3d0125de602fc
http://git.alpinelinux.org/aports/commit/?id=f23de6bf75a5fed240444ddc45e8609574c70306
http://git.alpinelinux.org/aports/commit/?id=5f752ea195f3f8ce66003ac1240b432c30de48ff


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