SQL Injection Affecting propel/propel1 package, versions <1.7.2
Snyk CVSS
Attack Complexity
Low
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PHP-PROPELPROPEL1-72041
- published 22 Feb 2018
- disclosed 19 Feb 2018
- credit Unknown
How to fix?
Upgrade propel/propel1
to version 1.7.2 or higher.
Overview
propel/propel1 is an open-source Object-Relational Mapping (ORM) for PHP5.
Affected versions of this package are vulnerable to SQL Injection due to lack of integer casting of the limit() input.
For example, given a model User for a table users, an attacker could drop the users table:
UserQuery::create()->limit('1;DROP TABLE users')->find();