Privilege Escalation Affecting facturascripts/facturascripts package, versions <2022.2
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.19% (57th
percentile)
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-FACTURASCRIPTSFACTURASCRIPTS-2825180
- published 15 May 2022
- disclosed 15 May 2022
- credit Distorted_Hacker (@gaurav-g2)
Introduced: 15 May 2022
CVE-2022-1715 Open this link in a new tabHow to fix?
Upgrade facturascripts/facturascripts
to version 2022.2 or higher.
Overview
Affected versions of this package are vulnerable to Privilege Escalation due to Type Juggling, it is possible to confuse the application when verifying passwords. For example, the following expression, when used in password verification process, will evaluate to true: password
== 0
. The fix makes sure that the entered password is of the same type as the one that is stored in the database.