GHSA-vjq3-x3f2-fvxq CVE-2022-1715
Account takeover in facturascripts
- Severity
- 9.8 / 10
- Critical · CVSS 3.0
- Exploit chance (EPSS)
- 1.42%
- Chance of exploitation in the next 30 days. Higher than 72.84% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Fix
2022.08- Upgrade facturascripts/facturascripts to this version or later
Description
Account Takeover in GitHub repository neorazorx/facturascripts prior to 2022.08 due to improper type casting.
Affected versions
Packagist
| Package | Vulnerable | Fixed in |
|---|---|---|
| facturascripts/facturascripts | < 2022.08 |
2022.08 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
facturascripts/facturascripts Packagist → 2022.08
- composer
composer require facturascripts/facturascripts:^2022.08
Severity breakdown
CVSS 3.0 9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Weakness
CWE-1125: Excessive Attack Surface
The product has an attack surface whose quantitative measurement exceeds a desirable maximum.
CWE-522: Insufficiently Protected Credentials
The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.
How to prevent it
- Architecture and Design: Use an appropriate security mechanism to protect the credentials.
- Architecture and Design: Make appropriate use of cryptography to protect the credentials.
- Implementation: Use industry standards to protect the credentials (e.g. LDAP, keystore, etc.).
References
Advisories
Packages
Other links
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-hgjx-r89m-m7v4 FacturaScripts: Path traversal in UploadedFile::move() via getClientOriginalName() — arbitrary file write outside MyFiles/ leading to RCE | Critical | Also affects facturascripts/facturascripts |
| GHSA-3x7p-v8hj-xh5m FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=` | Low | Also affects facturascripts/facturascripts |
| GHSA-2p5x-4jr6-x5jg FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to plant payloads that execute when an admin opens the export | High | Also affects facturascripts/facturascripts |
| GHSA-cv65-7cg8-r623 FacturaScripts: Unauthenticated Path Traversal in Static File Controllers Reads Private MyFiles Documents | High | Also affects facturascripts/facturascripts |
| GHSA-5qmh-x653-g8qj FacturaScripts: Authenticated SQL injection in the FacturaScripts REST API filter parameter via parenthesis bypass in `Where::sqlColumn` | Critical | Also affects facturascripts/facturascripts |
| GHSA-c67f-gmxw-mj93 FacturaScripts: Account takeover of any 2FA-enabled user | Critical | Also affects facturascripts/facturascripts |
| GHSA-vf3q-frmr-vrr9 FacturaScripts Vulnerable to Authenticated Remote Code Execution (RCE) via GIF Image Upload in Product Images | Medium | Also affects facturascripts/facturascripts |
| GHSA-vrxf-vrc4-22p7 FacturaScripts Vulnerable to Unauthenticated phpinfo() Disclosure via Installer Endpoint | Medium | Also affects facturascripts/facturascripts |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor