Privilege Escalation Affecting facturascripts/facturascripts package, versions <2022.2


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.26% (66th 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 IDSNYK-PHP-FACTURASCRIPTSFACTURASCRIPTS-2825180
  • published15 May 2022
  • disclosed15 May 2022
  • creditDistorted_Hacker (@gaurav-g2)

Introduced: 15 May 2022

CVE-2022-1715  (opens in a new tab)
CWE-264  (opens in a new tab)

How 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.

References

CVSS Scores

version 3.1