Privilege Escalation Affecting facturascripts/facturascripts Open this link in a new tab package, versions >=0.0.0


0.0
high
  • Exploit Maturity

    Proof of concept

  • Attack Complexity

    Low

  • Confidentiality

    High

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)

How to fix?

A fix was pushed into the master branch but not yet published.

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