CVSS 9.8 CRITICAL RCE

Contact Manager <= 9.1.2 - Unauthenticated Arbitrary File Upload via Trailing-Dot Filename Blacklist Bypass

Công bố
Cập nhật
Lần đầu thấy
Nguồn
NVD, CVE.org

Mô tả

The Contact Manager plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 9.1.2 via the add_message function. This is due to an incomplete extension blacklist that fails to detect dangerous extensions when a trailing dot causes the extension-derivation routine to return an empty string, which sanitize_file_name() then silently removes before the file is written to disk. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. Successful code execution additionally requires the server to use Apache with libapache2-mod-php (which maps .phar to PHP by default) and the attacker to retrieve the uploaded file within the brief window before it is removed by unlink() at end of request.

Điểm và phân loại

CVSS
9.8 CRITICAL v3.1
Nguồn điểm
NVD
Mức độ (theo nguồn)
CRITICAL
EPSS
—
CWE
CWE-434

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

Ảnh hưởng

Sản phẩm

  • kleor Contact Manager

Vì sao được giữ

  • CVSS 9.8 >= 8.0

Loại tác động

RCE
CWE-434; từ khoá "remote code execution"

Dữ liệu riêng của nguồn

CVE.org · Đơn vị cấp mã
Wordfence
CVE.org · SSVC
Tự động hoá được: no · Khai thác: none · Tác động kỹ thuật: total

Tham khảo