Intel

AIKIDO-2024-10524

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

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 9, 2024
December 9, 2024

54

CVE Score

Medium

Generation of Predictable Numbers or Identifiers

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.

How do I fix this?

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

Who does this affect?

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

Versions

2.8.0 - 8.0.4

Fixed in 9.0.0

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.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea