Magento
Magento CMS
https://magento.com
Magento is an open-source e-commerce platform written in PHP
Scan
Magescan
Find Version, Files, Etc (local.xml might have passwords)
Find the Admin page: http://10.x.x.x/index.php/admin
> php magescan.phar scan:all 10.x.x.xCreate Admin
RCE 37977
Magento eCommerce- Remote code Execution-37977.py
Will create admin creds using a sql injection
Authenticated RCE 37811
Must have Admin User/Pass for this to work
Must have install_date from '/app/etc/local.xml'
Lots of tweaks and errors to get this to work
Upload IDE
Requires Admin login
System > Magento Connect > Magento Connection Manager > Upload
Download: Magpleasure_Filesystem-1.0.0.tgz
Froghopper Attack (RCE)
Requires Admin login
Upload an evil png with shellcode
Enable Symlinks
Edit Newsletter to call the payload
Upload Evil Plugin
Requires Admin login
MAGento plugins are basically php file zipped.
Zip an evil php and upload it as a Plugin
Did not work for swagshopHTB
Last updated
Was this helpful?