CVE-2025-13516

Vulnérabilité élevée dans SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers (brainstormforce)

CVSS 8.1 · Élevée
EPSS 1.0%
brainstormforce•SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers•Versions : 0, <=1.9.0

Description

The SureMail – SMTP and Email Logs Plugin for WordPress is vulnerable to Unrestricted Upload of File with Dangerous Type in versions up to and including 1.9.0. This is due to the plugin's save_file() function in inc/emails/handler/uploads.php which duplicates all email attachments to a web-accessible directory (wp-content/uploads/suremails/attachments/) without validating file extensions or content types. Files are saved with predictable names derived from MD5 hashes of their content. While the plugin attempts to protect this directory with an Apache .htaccess file to disable PHP execution, this protection is ineffective on nginx, IIS, and Lighttpd servers, or on misconfigured Apache installations. This makes it possible for unauthenticated attackers to achieve Remote Code Execution by uploading malicious PHP files through any public form that emails attachments, calculating the predictable filename, and directly accessing the file to execute arbitrary code granted they are exploiting a site running on an affected web server configuration.

Gravité et risque d'exploitation

CVE-2025-13516 obtient un score CVSS de 8.1/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.97 %, ce qui la place devant 61.1 % des CVE référencées.

Que faire ?

  • Vérifiez si SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers (versions 0, <=1.9.0) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références