Exploit database

Vulnerability

CVE-2024-5450

Bug Library < 2.1.1 - Unauthenticated RCE

Vulnerability details

Score
9.1
Severity
critical

CVSS 3.1 · CISA-ADP

Vector string

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

Description

The Bug Library WordPress plugin before 2.1.1 does not check the file type on user-submitted bug reports, allowing an unauthenticated user to upload PHP files

CVE Program

Exploit source choices

1 source
WordPress Bug Library Plugin Prior To 2.1.1 Unauthenticated PHP File Upload RCE
MSF-unix--webapp--wp_bug_library_file_uploadMetasploitPHP / remotePreferred

The Bug Library WordPress plugin before version 2.1.1 does not validate the file type of attachments submitted via the public bug-report form, allowing an unauthenticated attacker to upload an arbitrary PHP file and achieve remote code execution. When the "Allow Attachments" setting is enabled and CAPTCHA is either disabled or not deployed, a PHP webshell can be submitted as a bug report attachment. The file is stored under wp-content/uploads/bug-library/ and is directly accessible over HTTP, giving the attacker a persistent shell on the server. Affected versions: Bug Library < 2.1.1 CVSSv3 Score: 10.0 (Critical) - CWE-434: Unrestricted Upload of File with Dangerous Type

2024-06-22wp_bug_library_file_upload.rb