ThinkPHP Framework 5.1.x < 5.1.31 Arbitrary File Read

medium Web App Scanning Plugin ID 113334

Synopsis

ThinkPHP Framework 5.1.x < 5.1.31 Arbitrary File Read

Description

A vulnerability exists within ThinkPHP Framework 5.1.x to 5.1.31. If the site is configured in debug mode, this vulnerability allows an attacker to read arbitrary files on the system due to improper sanitization of user-supplied input.

Solution

Disable the debug mode or upgrade to ThinkPHP Framework version 5.1.31 or later.

See Also

https://twitter.com/momika233/status/1548852756160876544

Plugin Details

Severity: Medium

ID: 113334

Type: remote

Published: 8/8/2022

Updated: 8/8/2022

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 2.9

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CVSS Score Source: Tenable

Vulnerability Information

Exploit Available: true

Reference Information