CVE-2022-42188
PHP vulnerability analysis and mitigation

Overview

In Lavalite version 9.0.0, a path traversal vulnerability was discovered in the XSRF-TOKEN cookie implementation. This vulnerability enables unauthorized read access to arbitrary files on the server, potentially exposing sensitive system information (AttackerKB, CISA).

Technical details

The vulnerability exists in the XSRF-TOKEN cookie handling mechanism where path traversal sequences are not properly validated. An attacker can manipulate the cookie value to include directory traversal sequences (../) to access files outside the intended directory structure. The vulnerability has been assigned a CVSS score of 7.5, indicating high severity (CISA).

Impact

The successful exploitation of this vulnerability allows attackers to read arbitrary files from the server's filesystem. This could lead to exposure of sensitive information including configuration files, credentials, and other confidential system data (GitHub).

Mitigation and workarounds

Users should upgrade to a version newer than Lavalite 9.0.0 that contains patches for this vulnerability. In the absence of an immediate upgrade, implementing strict input validation and access controls for cookie values can help mitigate the risk.

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management