Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:46425
HistoryApr 15, 2024 - 12:35 p.m.

Deserialization Of Untrusted Data

2024-04-1512:35:54
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
4
timber
vulnerability
input validation
file_exist function
arbitrary code
phar:// protocol
php objects
remote execution

8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

8.3 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.1%

timber/timber is vulnerable to Deserialization of Untrusted Data. The vulnerability due to a lack of input validation before passing it into the file_exists function. An attacker can execute arbitrary code by uploading files of any type to the server which then gets passed in the phar:// protocol to deserialize the uploaded file and instantiate arbitrary PHP objects. This is particularly dangerous when used with frameworks or developer code that have known POP chains, which ran result in remote code execution.

CPENameOperatorVersion
timber/timberle2.0.0
timber/timberle2.0.0

8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

8.3 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.1%