YingZhi Python 1.9 Arbitrary Traversal / Write

ID 1337DAY-ID-19470
Type zdt
Reporter Larry Cashdollar
Modified 2012-09-26T00:00:00


Exploit for php platform in category web applications

                                            YingZhi Python Programming Language for iOS

Vendor: XiaoWen Huang

Version 1.9.

Product Websites
http://www.iphoneappstorm.com/iphone-apps/utilities/com.yingzhi.python/yingzhipython.php?id=493505744 YingZhi

Python Interpreter is a native python development application for the iPad/iPhone. It is available for iOS 4 and above.

The product is packaged with its own httpd and ftpd servers. Enabling the local daemons for development by Touching Computer<->This Machine starts up an httpd server and ftpd server, both daemons are bound to device IP not localhost.


httpd server allows upload of arbitrary files to root WWW directory.

Browsing to http://<target_ip>:8080/ presents an index page in which anyone can upload files to the web servers root directory.

ftp server vulnerable to ../ bug

The ftp server doesn't sanitize user input and allows remote users to read and possibly write to the devices storage.

The ftp server doesn't bother authenticating users, any username/password combination will allow you in.

Larry Cashdollar @lcashdol

#  0day.today [2018-03-13]  #