/Vulnerability Library

FacturaScripts - Unauthenticated phpinfo Disclosure

CVE-2026-42878
Early Release

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.

Severity

Medium

CVSS Score

5.3

Exploit Probability

0%

Affected Product

facturascripts

Published Date

August 24, 2026

Template Author

chrisjr404

CVE-2026-42878.yaml
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.0024
    epss-percentile: 0.14955
    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: 490a0046304402201d58dadbdafd00ee8688b18e373b37d71fd89cb16e4ec89f5d52a0274136710102202f1c7626cd99cb0b125acbe85feb50cc824126c2dd541b75c81b73768bbbdc47:922c64590222798bb761d5b6d8e72950
5.3Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVE ID:
cve-2026-42878
CWE ID:
cwe-200

References

https://github.com/advisories/GHSA-vrxf-vrc4-22p7https://github.com/NeoRazorX/facturascripts/blob/master/Core/Controller/Installer.phphttps://nvd.nist.gov/vuln/detail/CVE-2026-42878

Remediation Steps

Update to version 2026 or later.