Skip to content

Exposure of Resource to Wrong Sphere in ThinkPHP Framework

High severity GitHub Reviewed Published Mar 22, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

composer topthink/framework (Composer)

Affected versions

<= 5.0.24

Patched versions

None

Description

ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter. This allows attackers to access all system environment parameters from index.php.

References

Published by the National Vulnerability Database Mar 21, 2022
Published to the GitHub Advisory Database Mar 22, 2022
Reviewed Apr 1, 2022
Last updated Jan 27, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2022-25481

GHSA ID

GHSA-69wp-xwm7-69wm

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.