Description
Perle IOLAN STS/SCS terminal server models with firmware versions prior to 6.0 allow authenticated OS command injection via the restricted shell accessed over Telnet or SSH. The shell 'ps' command does not perform proper argument sanitization and passes user-supplied parameters into an 'sh -c' invocation running as root. An authenticated attacker who can log in to the device can inject shell metacharacters after the 'ps' subcommand to execute arbitrary OS commands with root privileges, leading to full compromise of the underlying operating system.
Problem types
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
Any version before 6.0
Any version before 6.0
Credits
Victor A. Morales, Senior Pentester Team Leader, GM Sectec, Corp.
Omar Crespo, Pentester, GM Sectec, Corp.
VulnCheck
References
www.perle.com/downloads/server_sds_sts_rackmount.shtml
www.perle.com/...documentation_pdfs/iolan_scs-sds-sts_ug.pdf
www.vulncheck.com/...nticated-command-injection-via-shell-ps