Vulnerability DatabaseGHSA-mvf6-3f2g-xfxf

GHSA-mvf6-3f2g-xfxf
PHP vulnerability analysis and mitigation

Overview

A security vulnerability was identified in endroid/qr-code-bundle versions prior to 3.4.2, involving improper handling of the logopath query parameter. The vulnerability was disclosed on January 1, 2020, and affects the PHP package endroid/qr-code-bundle. This moderate severity issue allows potential disclosure of files through manipulation of the logopath parameter (GitHub Advisory).

Technical details

The vulnerability stems from improper handling of non-image data as the logo in the QR code bundle. The issue was specifically related to the logo_path query parameter implementation, which failed to properly validate the mime type of uploaded files. This security flaw was assigned the identifier GHSA-mvf6-3f2g-xfxf and is categorized as CWE-200. The vulnerability was patched in version 3.4.2 by implementing proper mime type checking (GitHub Advisory).

Impact

The vulnerability could lead to unintended file disclosure, potentially exposing sensitive information on affected systems. This security issue allows attackers to access files through the manipulation of the logo_path parameter (GitHub Advisory).

Mitigation and workarounds

Users are advised to upgrade to endroid/qr-code-bundle version 3.4.2 or later, which includes the security fix. The patch implements proper mime type checking for the logo functionality (QR Bundle Release, Security Fix Commit).

Additional resources


SourceThis report was generated using AI

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