1. Accueil
  2. Vulnérabilités
  3. CVE-2026-45262

CVE-2026-45262

FacturaScripts: Authenticated SQL injection in the REST API filter parameter via parenthesis bypass in `Where::sqlColumn`

Publiée le 4 déc. 2026 · modifiée le 4 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 60/100

Résumé

FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Where.php::sqlColumn() exempts any field name that contains both ( and ) from identifier escaping. The two API filter builders (APIModel::getWhereValues and ApiAttachedFiles::getWhereValues) feed the raw request key ($_GET['filter'][$key]) straight into new DataBaseWhere($key, $value, '=', ...). When the model's all() reaches Where::multiSqlLegacy -> Where::sql() -> Where::sqlColumn($key), the parenthesis branch returns the attacker-controlled string unmodified. The string is concatenated into WHERE <attacker> = '<value>', which an attacker can pivot to WHERE (0)UNION SELECT ... FROM users WHERE(nick='admin')-- = 'value', leaking arbitrary columns from any table. This issue has been patched in version 2026.2.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

NeoRazorX (1 ligne(s))
NeoRazorX
ProduitVersionsCorrigé dansSource
facturascripts Versions non précisées — CNA (éditeur ou attributeur)
Packagist (1 ligne(s))
Packagist
ProduitVersionsCorrigé dansSource
facturascripts/facturascripts avant 2026.2 (exclu) 2026.2 GitHub Advisory

Correctif

Mise à jour — Packagist/facturascripts/facturascripts 2026.2source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1, CNA:security-advisories@github.com)
Faiblesse
CWE-89 · Injection SQL

Comment sont obtenues et calculées ces données