SQL injection in Sequelize



| Updated: 2019-06-25
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-11069
CWE-ID CWE-89
Exploitation vector Network
Public exploit N/A
Vulnerable software
Sequelize
Web applications / Modules and components for CMS

Vendor npm Inc.

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) SQL injection

EUVDB-ID: #VU18917

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2019-11069

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 the application does not ensure that standard conforming strings are used before executing a SQL query. 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 updates from vendor's website.

Vulnerable software versions

Sequelize: 5.0.0 - 5.2.15

CPE2.3 External links

https://github.com/sequelize/sequelize/blob/98cb17c17f73e2aa1792aa5a1d31216ba984b456/lib/dialects/postgres/connection-manager.js#L158-L160
https://github.com/sequelize/sequelize/pull/10746/files
https://github.com/sequelize/sequelize/releases/tag/v5.3.0


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