J-Security Center

Title: TWIG Plaintext Password in Cookies Under Default Installation Vulnerability

Severity: MODERATE

Description:

TWIG is an application framework for web based intranet and groupware applications. It includes support for webmail and newsgroup access.

When a user authenticates to TWIG, their account name and password are stored in a cookie. Under the default configuration for TWIG, this information is not encrypted. The revelant configuration info is in the TWIG directory, within the file config/config.php:

$config["security"]= "basic"; // Type of security to use (basic|advanced)
$config["login_handler"]= "cookie"; // Login handler (cookie|sqltable|base64cookie|php4session|session|securecookie.php4session|securecookie.sqltable)

An attacker able to aquire this cookie through a cross-site scripting vulnerability will be able to recover the password and authenticate as the user. Vulnerabilities such as Bugtraq ID 3513 may also lead to account compromise.

Earlier versions of TWIG may also have this default configuration.

Affected Products:

  • TWIG TWIG 2.6.0
  • TWIG TWIG 2.6.1
  • TWIG TWIG 2.6.2
  • TWIG TWIG 2.7.0
  • TWIG TWIG 2.7.1
  • TWIG TWIG 2.7.2
  • TWIG TWIG 2.7.3
  • TWIG TWIG 2.7.4

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.