-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add HorizontCMS 1.0.0-beta exploit module and documentation #14340
Add HorizontCMS 1.0.0-beta exploit module and documentation #14340
Conversation
Notes
|
@todb-r7 Can you take a look into this? Another case of CVE-ID's being delayed. |
I can hassle MITRE for this but usually the best bet for original Metasploit modules like this is to just ask Rapid7 for a CVE directly in the PR -- that way we're not in a race and end up issuing dupe CVEs like we did for CVE-2020-7373. |
CVE Request 983476 filed to sort this out. @kalba-security do you happen to have a reference number from your original request? |
@gwillcox-r7 @todb-r7 |
Coincidence, sure, let's call it that. :) |
Hahaha! I felt so relieved that I was willing to give them the benefit of the doubt. Fixed it ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this great module @kalba-security ! I just left a few minor comments for you to review before it lands.
Thanks for the suggestions @cdelafuente-r7 ! I added them in the latest commit. |
Thanks for the updates @kalba-security. Everything looks good now. I tested against version HorizontCMS version 1.0.0-beta on Ubuntu 18.04 and I correctly got a session with both Example output for target 0 (PHP)
Example output for target 1 (Linux)
|
Release NotesNew module |
About
This change adds a new module to /modules/exploits/multi/http/ that exploits an arbitrary file upload vulnerability (CVE-2020-27387) in HorizontCMS 1.0.0-beta and prior in order to execute arbitrary commands. The change also adds documentation for this module. I discovered and disclosed the vulnerability, which has been fixed, but not in a specific version release.
Vulnerable system
HorizontCMS 1.0.0-beta and prior
Verification Steps
use exploit/multi/http/HorizontCMS_upload_exec
set RHOSTS [IP]
set USERNAME [username for the HorizontCMS account]
set PASSWORD [password for the HorizontCMS account]
set target [target]
set payload [payload]
set LHOST [IP]
exploit
Options
PASSWORD
The password for the HorizontCMS account to authenticate with.
TARGETURI
The base path to HorizontCMS. The default value is
/
.USERNAME
The username for the HorizontCMS account to authenticate with.
Targets
Scenarios
HorizontCMS 1.0.0-beta running on Ubuntu 18.04) - PHP target
HorizontCMS 1.0.0-beta running on Ubuntu 18.04 - Linux target