oss-sec mailing list archives
Re: YingZhi Python Programming Language for iOS ftp .. bug & httpd arbitrary upload
From: "Larry W. Cashdollar" <larry0 () me com>
Date: Fri, 30 Aug 2013 12:54:11 +0000 (GMT)
On Aug 30, 2013, at 05:42 AM, "Larry W. Cashdollar" <larry0 () me com> wrote: On Aug 29, 2013, at 11:46 PM, cve-assign () mitre org wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'd like to request a CVE for these vulnerabilities I disclosed back on Sept 27 2012. http://vapid.dhs.org/advisories/python_for_ipad.html YingZhi Python Programming Language for iOS Vendor: XiaoWen Huang, YingZhi Python for iOS. Ver 1.9. OSVDB IDs: 96719 & 96720 Product Websites http://sosilen.blog.163.com 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. Use CVE-2013-5654. Support for anonymous upload is, at least, rare in HTTP servers and this behavior would seem to violate reasonable user expectations. If you have any further information about the specific statements in OSVDB entry 96720, please let us know. For example, have you confirmed that the default configuration of this HTTP server enables a PHP interpreter, such that uploads of .php files are especially dangerous? I just checked and it appears the http server doesn't interpret .php, .cgi or .py, it only serves basic content. telnet 192.168.0.15 8080 Trying 192.168.0.15... Connected to 192.168.0.15. Escape character is '^]'. GET /i.php HTTP/1.0 HTTP/1.1 200 OK Accept-Ranges: bytes Content-Length: 39 Date: Fri, 30 Aug 2013 12:11:32 GMT <?php echo '<p>Hello World</p>'; ?> Connection closed by foreign host. bos-mp5r9:Documents larry$ curl -I http://192.168.0.15:8080 HTTP/1.1 200 OK Transfer-Encoding: chunked Accept-Ranges: bytes Date: Fri, 30 Aug 2013 12:28:48 GMT The application documentation is a little confusing but states the following: You can upload learning materials to the local on the computer via wifi, support http and ftp two upload ways. The file system supports txt, pdf, chm, mp3, zip, gif, png, html, py I originally thought .py support might have meant the http server interpreted python, but I have not had success in testing this. 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. ftp://192.168.0.24:10000/../../../../../../../private/etc/passwd Use CVE-2013-5655. The ftp server doesn't bother authenticating users, any username/password combination will allow you in. We're not immediately assigning a CVE ID for this authentication behavior because it might be an intentional part of the vendor's design, and might have been reasonable in the vendor's envisioned development environment. If there is any documentation suggesting that this is instead an authentication bypass (e.g., the product allows the user to configure a username/password combination), the assignment can of course be reconsidered.- -- CVE assignment team, MITRE CVE Numbering Authority
M/S M300 202 Burlington Road, Bedford, MA 01730 USA [ PGP key available through http://cve.mitre.org/cve/request_id.html ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (SunOS) iQEcBAEBAgAGBQJSID68AAoJEGvefgSNfHMdbt4IALFMSBoUA/WIybOGhq6wXFV+ hc1S9kiDnKxjtR/IEnSnmjEBkF+iOdYoh2KOM41veWZD5hfoDgE2jgU3CRVHXEC7 OAhievWB9Bx5SZghIyJFjfqAwhLjS/9DmDonDFN8EBIguflaN36e7clr3+/ixzZ5 tzKElNelBcbgjf0WaQqfPpHRB46JJQFQ3AvqRMOyi1YbcG2LJ+uC8bylqvhXYbta g/LqwJ8UaxZ886Hd+V1k/+sYUL9S/VzgGnkQd4QPZJXVsAfFcEELubpnEyO0m3g+ OQaKqLjvhA6YTfe6GuY2LJgh583UUrl8Bv+dUuP4nsiELpcZQDHa6AZjbbFJVSw= =pgG9 -----END PGP SIGNATURE-----
Current thread:
- YingZhi Python Programming Language for iOS ftp .. bug & httpd arbitrary upload Larry W. Cashdollar (Aug 29)
- Re: YingZhi Python Programming Language for iOS ftp .. bug & httpd arbitrary upload cve-assign (Aug 29)
- Re: YingZhi Python Programming Language for iOS ftp .. bug & httpd arbitrary upload Larry W. Cashdollar (Aug 30)
- Re: YingZhi Python Programming Language for iOS ftp .. bug & httpd arbitrary upload Larry W. Cashdollar (Aug 30)
- YingZhi Lua Programming Language for iOS ftp .. bug & httpd arbitrary upload Larry W. Cashdollar (Aug 30)
- Re: YingZhi Python Programming Language for iOS ftp .. bug & httpd arbitrary upload Larry W. Cashdollar (Aug 30)
- Re: YingZhi Python Programming Language for iOS ftp .. bug & httpd arbitrary upload cve-assign (Aug 29)