Intel

AIKIDO-2024-10524

php-mime-mail-parser/php-mime-mail-parser is vulnerable to Generation of Predictable Numbers or Identifiers

Generation of Predictable Numbers or Identifiers Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 9, 2024

54

Medium Risk

This Affects:

PHPphp-mime-mail-parser/php-mime-mail-parser
2.8.0 - 8.0.4
Fixed in 9.0.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable due to predictable file identifiers generated during uploads. The identifiers rely on uniqid(), which creates IDs based on the current timestamp. An attacker aware of the timestamp can perform a brute-force attack to guess and access uploaded files, compromising their confidentiality.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

php-mime-mail-parser/php-mime-mail-parser is vulnerable to Generation of Predictable Numbers or Identifiers in versions 2.8.0 - 8.0.4.

How to fix this

Upgrade the php-mime-mail-parser/php-mime-mail-parser library to the patch version.