Vulnerabilities > CVE-2009-0030 - Improper Authentication vulnerability in Squirrelmail 1.4.8

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN

Summary

A certain Red Hat patch for SquirrelMail 1.4.8 sets the same SQMSESSID cookie value for all sessions, which allows remote authenticated users to access other users' folder lists and configuration data in opportunistic circumstances by using the standard webmail.php interface. NOTE: this vulnerability exists because of an incorrect fix for CVE-2008-3663.

Vulnerable Configurations

Part Description Count
Application
Squirrelmail
1

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Authentication Abuse
    An attacker obtains unauthorized access to an application, service or device either through knowledge of the inherent weaknesses of an authentication mechanism, or by exploiting a flaw in the authentication scheme's implementation. In such an attack an authentication mechanism is functioning but a carefully controlled sequence of events causes the mechanism to grant access to the attacker. This attack may exploit assumptions made by the target's authentication procedures, such as assumptions regarding trust relationships or assumptions regarding the generation of secret values. This attack differs from Authentication Bypass attacks in that Authentication Abuse allows the attacker to be certified as a valid user through illegitimate means, while Authentication Bypass allows the user to access protected material without ever being certified as an authenticated user. This attack does not rely on prior sessions established by successfully authenticating users, as relied upon for the "Exploitation of Session Variables, Resource IDs and other Trusted Credentials" attack patterns.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Utilizing REST's Trust in the System Resource to Register Man in the Middle
    This attack utilizes a REST(REpresentational State Transfer)-style applications' trust in the system resources and environment to place man in the middle once SSL is terminated. Rest applications premise is that they leverage existing infrastructure to deliver web services functionality. An example of this is a Rest application that uses HTTP Get methods and receives a HTTP response with an XML document. These Rest style web services are deployed on existing infrastructure such as Apache and IIS web servers with no SOAP stack required. Unfortunately from a security standpoint, there frequently is no interoperable identity security mechanism deployed, so Rest developers often fall back to SSL to deliver security. In large data centers, SSL is typically terminated at the edge of the network - at the firewall, load balancer, or router. Once the SSL is terminated the HTTP request is in the clear (unless developers have hashed or encrypted the values, but this is rare). The attacker can utilize a sniffer such as Wireshark to snapshot the credentials, such as username and password that are passed in the clear once SSL is terminated. Once the attacker gathers these credentials, they can submit requests to the web service provider just as authorized user do. There is not typically an authentication on the client side, beyond what is passed in the request itself so once this is compromised, then this is generally sufficient to compromise the service's authentication scheme.
  • Man in the Middle Attack
    This type of attack targets the communication between two components (typically client and server). The attacker places himself in the communication channel between the two components. Whenever one component attempts to communicate with the other (data flow, authentication challenges, etc.), the data first goes to the attacker, who has the opportunity to observe or alter it, and it is then passed on to the other component as if it was never intercepted. This interposition is transparent leaving the two compromised components unaware of the potential corruption or leakage of their communications. The potential for Man-in-the-Middle attacks yields an implicit lack of trust in communication or identify between two components.

Nessus

  • NASL familySuSE Local Security Checks
    NASL idSUSE_FIREFOX35UPGRADE-6562.NASL
    descriptionThis update brings the Mozilla Firefox 3.5 webbrowser to version 3.5.3, the Mozilla XULRunner 1.9.0 engine to the 1.9.0.14 stable release, and the Mozilla XULRunner 1.9.1 engine to the 1.9.1.3 stable release. It also fixes various security issues: MFSA 2009-47 / CVE-2009-3069 / CVE-2009-3070 / CVE-2009-3071 / CVE-2009-3072 / CVE-2009-3073 / CVE-2009-30 / CVE-2009-3075: Mozilla developers and community members identified and fixed several stability bugs in the browser engine used in Firefox and other Mozilla-based products. Some of these crashes showed evidence of memory corruption under certain circumstances and we presume that with enough effort at least some of these could be exploited to run arbitrary code. MFSA 2009-48 / CVE-2009-3076: Mozilla security researcher Jesse Rudermanreported that when security modules were added or removed via pkcs11.addmodule or pkcs11.deletemodule, the resulting dialog was not sufficiently informative. Without sufficient warning, an attacker could entice a victim to install a malicious PKCS11 module and affect the cryptographic integrity of the victim
    last seen2020-06-01
    modified2020-06-02
    plugin id42189
    published2009-10-20
    reporterThis script is Copyright (C) 2009-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/42189
    titleSuSE Security Update: Security update for Mozilla Firefox (firefox35upgrade-6562)
    code
    #%NASL_MIN_LEVEL 80502
    
    #
    # (C) Tenable Network Security, Inc.
    #
    # The text description of this plugin is (C) Novell, Inc.
    #
    
    include("compat.inc");
    
    if ( ! defined_func("bn_random") ) exit(0);
    if (NASL_LEVEL < 3000 ) exit(0);
    
    if(description)
    {
     script_id(42189);
     script_version ("1.11");
     script_name(english: "SuSE Security Update:  Security update for Mozilla Firefox (firefox35upgrade-6562)");
     script_set_attribute(attribute: "synopsis", value: 
    "The remote SuSE system is missing the security patch firefox35upgrade-6562");
     script_set_attribute(attribute: "description", value: "This update brings the Mozilla Firefox 3.5 webbrowser to
    version 3.5.3, the Mozilla XULRunner 1.9.0 engine to the
    1.9.0.14 stable release, and the Mozilla XULRunner 1.9.1
    engine to the 1.9.1.3 stable release.
    
    It also fixes various security issues: MFSA 2009-47 /
    CVE-2009-3069 / CVE-2009-3070 / CVE-2009-3071 /
    CVE-2009-3072 / CVE-2009-3073 / CVE-2009-30 /
    CVE-2009-3075: Mozilla developers and community members
    identified and fixed several stability bugs in the browser
    engine used in Firefox and other Mozilla-based products.
    Some of these crashes showed evidence of memory corruption
    under certain circumstances and we presume that with enough
    effort at least some of these could be exploited to run
    arbitrary code.
    
    MFSA 2009-48 / CVE-2009-3076: Mozilla security researcher
    Jesse Rudermanreported that when security modules were
    added or removed via pkcs11.addmodule or
    pkcs11.deletemodule, the resulting dialog was not
    sufficiently informative. Without sufficient warning, an
    attacker could entice a victim to install a malicious
    PKCS11 module and affect the cryptographic integrity of the
    victim's browser. Security researcher Dan Kaminsky reported
    that this issue had not been fixed in Firefox 3.0 and that
    under certain circumstances pkcs11 modules could be
    installed from a remote location. Firefox 3.5 releases are
    not affected.
    
    MFSA 2009-49 / CVE-2009-3077: An anonymous security
    researcher, via TippingPoint's Zero Day Initiative,
    reported that the columns of a XUL tree element could be
    manipulated in a particular way which would leave a pointer
    owned by the column pointing to freed memory. An attacker
    could potentially use this vulnerability to crash a
    victim's browser and run arbitrary code on the victim's
    computer.
    
    MFSA 2009-50 / CVE-2009-3078: Security researcher Juan
    Pablo Lopez Yacubian reported that the default Windows font
    used to render the locationbar and other text fields was
    improperly displaying certain Unicode characters with tall
    line-height. In such cases the tall line-height would cause
    the rest of the text in the input field to be scrolled
    vertically out of view. An attacker could use this
    vulnerability to prevent a user from seeing the URL of a
    malicious site. Corrie Sloot also independently reported
    this issue to Mozilla.
    
    MFSA 2009-51 / CVE-2009-3079: Mozilla security researcher
    moz_bug_r_a4 reported that the BrowserFeedWriter could be
    leveraged to run JavaScript code from web content with
    elevated privileges. Using this vulnerability, an attacker
    could construct an object containing malicious JavaScript
    and cause the FeedWriter to process the object, running the
    malicious code with chrome privileges. Thunderbird does not
    support the BrowserFeedWriter object and is not vulnerable
    in its default configuration. Thunderbird might be
    vulnerable if the user has installed any add-on which adds
    a similarly implemented feature and then enables JavaScript
    in mail messages. This is not the default setting and we
    strongly discourage users from running JavaScript in mail.
    ");
     script_set_attribute(attribute: "solution", value: "Install the security patch firefox35upgrade-6562");
     script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
     script_cwe_id(20, 94, 287);
     script_set_attribute(attribute:"plugin_publication_date", value: "2009/10/20");
     script_cvs_date("Date: 2019/10/25 13:36:36");
    script_end_attributes();
    
    script_cve_id("CVE-2009-0030", "CVE-2009-3069", "CVE-2009-3070", "CVE-2009-3071", "CVE-2009-3072", "CVE-2009-3073", "CVE-2009-3075", "CVE-2009-3076", "CVE-2009-3077", "CVE-2009-3078", "CVE-2009-3079");
    script_summary(english: "Check for the firefox35upgrade-6562 package");
     
     script_category(ACT_GATHER_INFO);
     
     script_copyright(english:"This script is Copyright (C) 2009-2019 Tenable Network Security, Inc.");
     script_family(english: "SuSE Local Security Checks");
     script_dependencies("ssh_get_info.nasl");
     script_require_keys("Host/SuSE/rpm-list");
     exit(0);
    }
    
    include("rpm.inc");
    
    if ( ! get_kb_item("Host/SuSE/rpm-list") ) exit(1, "Could not gather the list of packages");
    
    if ( rpm_check( reference:"MozillaFirefox-3.5.3-1.4.2", release:"SLES10") )
    {
    	security_hole(port:0, extra:rpm_report_get());
    	exit(0);
    }
    if ( rpm_check( reference:"MozillaFirefox-branding-SLED-3.5-1.4.2", release:"SLES10") )
    {
    	security_hole(port:0, extra:rpm_report_get());
    	exit(0);
    }
    if ( rpm_check( reference:"MozillaFirefox-translations-3.5.3-1.4.2", release:"SLES10") )
    {
    	security_hole(port:0, extra:rpm_report_get());
    	exit(0);
    }
    if ( rpm_check( reference:"mozilla-xulrunner190-1.9.0.14-0.5.2", release:"SLES10") )
    {
    	security_hole(port:0, extra:rpm_report_get());
    	exit(0);
    }
    if ( rpm_check( reference:"mozilla-xulrunner190-gnomevfs-1.9.0.14-0.5.2", release:"SLES10") )
    {
    	security_hole(port:0, extra:rpm_report_get());
    	exit(0);
    }
    if ( rpm_check( reference:"mozilla-xulrunner190-translations-1.9.0.14-0.5.2", release:"SLES10") )
    {
    	security_hole(port:0, extra:rpm_report_get());
    	exit(0);
    }
    if ( rpm_check( reference:"mozilla-xulrunner191-1.9.1.3-1.4.2", release:"SLES10") )
    {
    	security_hole(port:0, extra:rpm_report_get());
    	exit(0);
    }
    if ( rpm_check( reference:"mozilla-xulrunner191-gnomevfs-1.9.1.3-1.4.2", release:"SLES10") )
    {
    	security_hole(port:0, extra:rpm_report_get());
    	exit(0);
    }
    if ( rpm_check( reference:"mozilla-xulrunner191-translations-1.9.1.3-1.4.2", release:"SLES10") )
    {
    	security_hole(port:0, extra:rpm_report_get());
    	exit(0);
    }
    # END OF TEST
    exit(0,"Host is not affected");
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SQUIRRELMAIL-5978.NASL
    descriptionThis update of squirrelmail corrects a problem introduced by a patch for CVE-2008-3663 that caused cookies to be static. (CVE-2009-0030)
    last seen2020-06-01
    modified2020-06-02
    plugin id35598
    published2009-02-05
    reporterThis script is Copyright (C) 2009-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/35598
    titleopenSUSE 10 Security Update : squirrelmail (squirrelmail-5978)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2009-0057.NASL
    descriptionFrom Red Hat Security Advisory 2009:0057 : An updated squirrelmail package that fixes a security issue is now available for Red Hat Enterprise Linux 3, 4 and 5. This update has been rated as having important security impact by the Red Hat Security Response Team. SquirrelMail is an easy-to-configure, standards-based, webmail package written in PHP. It includes built-in PHP support for the IMAP and SMTP protocols, and pure HTML 4.0 page-rendering (with no JavaScript required) for maximum browser-compatibility, strong MIME support, address books, and folder manipulation. The Red Hat SquirrelMail packages provided by the RHSA-2009:0010 advisory introduced a session handling flaw. Users who logged back into SquirrelMail without restarting their web browsers were assigned fixed session identifiers. A remote attacker could make use of that flaw to hijack user sessions. (CVE-2009-0030) SquirrelMail users should upgrade to this updated package, which contains a patch to correct this issue. As well, all users who used affected versions of SquirrelMail should review their preferences.
    last seen2020-06-01
    modified2020-06-02
    plugin id67794
    published2013-07-12
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/67794
    titleOracle Linux 3 / 4 / 5 : squirrelmail (ELSA-2009-0057)
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2009-0057.NASL
    descriptionAn updated squirrelmail package that fixes a security issue is now available for Red Hat Enterprise Linux 3, 4 and 5. This update has been rated as having important security impact by the Red Hat Security Response Team. SquirrelMail is an easy-to-configure, standards-based, webmail package written in PHP. It includes built-in PHP support for the IMAP and SMTP protocols, and pure HTML 4.0 page-rendering (with no JavaScript required) for maximum browser-compatibility, strong MIME support, address books, and folder manipulation. The Red Hat SquirrelMail packages provided by the RHSA-2009:0010 advisory introduced a session handling flaw. Users who logged back into SquirrelMail without restarting their web browsers were assigned fixed session identifiers. A remote attacker could make use of that flaw to hijack user sessions. (CVE-2009-0030) SquirrelMail users should upgrade to this updated package, which contains a patch to correct this issue. As well, all users who used affected versions of SquirrelMail should review their preferences.
    last seen2020-06-01
    modified2020-06-02
    plugin id35424
    published2009-01-20
    reporterThis script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/35424
    titleCentOS 3 / 4 / 5 : squirrelmail (CESA-2009:0057)
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20090119_SQUIRRELMAIL_ON_SL3_X.NASL
    descriptionThe Red Hat SquirrelMail packages provided by the RHSA-2009:0010 advisory introduced a session handling flaw. Users who logged back into SquirrelMail without restarting their web browsers were assigned fixed session identifiers. A remote attacker could make use of that flaw to hijack user sessions. (CVE-2009-0030)
    last seen2020-06-01
    modified2020-06-02
    plugin id60522
    published2012-08-01
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/60522
    titleScientific Linux Security Update : squirrelmail on SL3.x, SL4.x, SL5.x i386/x86_64
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2009-0057.NASL
    descriptionAn updated squirrelmail package that fixes a security issue is now available for Red Hat Enterprise Linux 3, 4 and 5. This update has been rated as having important security impact by the Red Hat Security Response Team. SquirrelMail is an easy-to-configure, standards-based, webmail package written in PHP. It includes built-in PHP support for the IMAP and SMTP protocols, and pure HTML 4.0 page-rendering (with no JavaScript required) for maximum browser-compatibility, strong MIME support, address books, and folder manipulation. The Red Hat SquirrelMail packages provided by the RHSA-2009:0010 advisory introduced a session handling flaw. Users who logged back into SquirrelMail without restarting their web browsers were assigned fixed session identifiers. A remote attacker could make use of that flaw to hijack user sessions. (CVE-2009-0030) SquirrelMail users should upgrade to this updated package, which contains a patch to correct this issue. As well, all users who used affected versions of SquirrelMail should review their preferences.
    last seen2020-06-01
    modified2020-06-02
    plugin id35429
    published2009-01-20
    reporterThis script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/35429
    titleRHEL 3 / 4 / 5 : squirrelmail (RHSA-2009:0057)

Oval

accepted2013-04-29T04:05:02.433-04:00
classvulnerability
contributors
  • nameAharon Chernin
    organizationSCAP.com, LLC
  • nameDragos Prisaca
    organizationG2, Inc.
definition_extensions
  • commentThe operating system installed on the system is Red Hat Enterprise Linux 3
    ovaloval:org.mitre.oval:def:11782
  • commentCentOS Linux 3.x
    ovaloval:org.mitre.oval:def:16651
  • commentThe operating system installed on the system is Red Hat Enterprise Linux 4
    ovaloval:org.mitre.oval:def:11831
  • commentCentOS Linux 4.x
    ovaloval:org.mitre.oval:def:16636
  • commentOracle Linux 4.x
    ovaloval:org.mitre.oval:def:15990
  • commentThe operating system installed on the system is Red Hat Enterprise Linux 5
    ovaloval:org.mitre.oval:def:11414
  • commentThe operating system installed on the system is CentOS Linux 5.x
    ovaloval:org.mitre.oval:def:15802
  • commentOracle Linux 5.x
    ovaloval:org.mitre.oval:def:15459
descriptionA certain Red Hat patch for SquirrelMail 1.4.8 sets the same SQMSESSID cookie value for all sessions, which allows remote authenticated users to access other users' folder lists and configuration data in opportunistic circumstances by using the standard webmail.php interface. NOTE: this vulnerability exists because of an incorrect fix for CVE-2008-3663.
familyunix
idoval:org.mitre.oval:def:10366
statusaccepted
submitted2010-07-09T03:56:16-04:00
titleA certain Red Hat patch for SquirrelMail 1.4.8 sets the same SQMSESSID cookie value for all sessions, which allows remote authenticated users to access other users' folder lists and configuration data in opportunistic circumstances by using the standard webmail.php interface. NOTE: this vulnerability exists because of an incorrect fix for CVE-2008-3663.
version27

Redhat

advisories
rhsa
idRHSA-2009:0057
rpms
  • squirrelmail-0:1.4.8-5.el4_7.3
  • squirrelmail-0:1.4.8-5.el5_2.3
  • squirrelmail-0:1.4.8-9.el3

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 33354 CVE(CAN) ID: CVE-2009-0030 SquirrelMail是一款PHP编写的WEBMAIL程序。 Red Hat为CVE-2008-3663所提供的修复导致SquirrelMail对所有的会话都设置了相同的SQMSESSID Cookie值,这允许通过认证的远程用户通过使用标准的webmail.php接口访问其他用户的文件夹列表和配置数据。 SquirrelMail 1.4.8 厂商补丁: RedHat ------ RedHat已经为此发布了一个安全公告(RHSA-2009:0057-01)以及相应补丁: RHSA-2009:0057-01:Important: squirrelmail security update 链接:<a href=https://www.redhat.com/support/errata/RHSA-2009-0057.html target=_blank rel=external nofollow>https://www.redhat.com/support/errata/RHSA-2009-0057.html</a>
idSSV:4796
last seen2017-11-19
modified2009-02-19
published2009-02-19
reporterRoot
titleSquirrelMail软件包会话处理绕过认证漏洞