HexBrain

ExpressionEngine · Report #335761

RCE By import channel field

Validstatus
highseverity
21upvotes
20 Apr 2018disclosed

Summary

The reporter determined that a malicious Channel Set could be used to allow an administrator to upload a PHP file that they might otherwise not have permission to upload. Combined with the temporary folder name algorithm being available in the source code, the malicious administrator could potentially guess its location, and if the site were running with a web-accessible system folder, could allow them to run arbitrary code.

The issue was resolved to prevent potential discovery of the temporary folder, and decreased the TTL of that folder to further prevent from any brute-force guessing of the folder name.

It should be noted that post-installation best-practices is to move the system folder above web-root, which by itself would make such an attack impossible even for a CMS administrator.

i found RCE Because they just blocked .php at upload function so i bypassed it ^_^

How it was found

The write-up for this report has not been downloaded yet, or the program disclosed it without one. Read it on HackerOne.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original