Description
A vulnerability exists in OAstium VoIP PBX astium-confweb-2.1-25399 and earlier, where improper input validation in the logon.php script allows an attacker to bypass authentication via SQL injection. Once authenticated as an administrator, the attacker can upload arbitrary PHP code through the importcompany field in import.php, resulting in remote code execution. The malicious payload is injected into /usr/local/astium/web/php/config.php and executed with root privileges by triggering a configuration reload via sudo /sbin/service astcfgd reload. Successful exploitation leads to full system compromise.
Problem types
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CWE-434 Unrestricted Upload of File with Dangerous Type
Product status
Any version
Credits
xistence
References
www.exploit-db.com/exploits/23831
raw.githubusercontent.com/...inux/http/astium_sqli_upload.rb
www.vulncheck.com/...es/astium-voip-pbx-sqli-file-upload-rce