SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow World Laboratory of Bugtraq Database

Arrow  Topic :

Drupal 6.15 with Twitter module version 6.x-2.6 clear text credential storage


Arrow  WLB : WLB-2010020088  (About)
Arrow  SecurityAlert : None
Arrow  Date : 2010-02-17
Arrow  Credit          : Justin C. Klein Keane
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote : Yes
Arrow  Local     : No
Arrow  Status   : Bug

Arrow  History : [2010-02-17] Started

Arrow  Affected software :  Drupal 6.15 with Twitter module version 6.x-2.6



Arrow  Text :  

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The full text of this advisory can also be found at
http://www.madirish.net/?article=447

Description of Vulnerability:
- -----------------------------
Drupal (http://drupal.org) is a robust content management system (CMS)
written in PHP and MySQL that provides extensibility through hundreds of
third party modules. The Twitter Module
(http://drupal.org/project/twitter) suffers from potential vulnerability
due to the fact that it could expose stored Twitter account credentials
to theft or exposure.

Systems affected:
- -----------------
Drupal 6.15 with Twitter Module 6.x-2.6 was tested and shown to be
vulnerable.

Impact
- ------
The Drupal Twitter module handles credentials in an unsafe manner,
allowing anyone with read access to the Drupal database, or with access
to network traffic between the Drupal server and the Twitter API, to
observe the full Twitter username and password for Twitter user
configured through the module.

Mitigating factors:
- -------------------
Twitter module must be installed and configured with user account
credentials.

Technical discussion and proof of concept:
- ------------------------------------------
The Drupal Twitter contravenes many of the stated Twitter "Secure
Best
Practices." (http://apiwiki.twitter.com/Security-Best-Practices)

The module stores Twitter credentials unobscured in the Drupal database.
Both user specific passwords and the global site Twitter account
credentials are stored. The global passwords can be found in the Drupal
variable table:

mysql> select * from variable where name like 'twitter_global%';
+-------------------------+--------------------------+
| name | value |
+-------------------------+--------------------------+
| twitter_global_name | s:16:"Twitter username"; |
| twitter_global_password | s:16:"Twitter password"; |
+-------------------------+--------------------------+
2 rows in set (0.00 sec)

User specific credentials can be found in the twitter_user table:

mysql> select * from twitter_user;
+-----+--------------+-----------+--------+
| uid | screen_name | password | import |
+-----+--------------+-----------+--------+
| 3 | twitter_name | twit_pass | 1 |
+-----+--------------+-----------+--------+
1 row in set (0.00 sec)

The inclusion of the full credentials in the database exposes these
credentials to theft by anyone with read access to the database. This
includes anyone with sufficient permissions to craft PHP through Drupal,
which is a native function of many of the core and extended third party
modules.

Additionally when the module updates a Twitter feed status or verifies
account credentials it utilizes base 64 encoded, but unencrypted
connections, to pass credentials and update status messages rather than
the OAuth facility provided by Twitter
(http://apiwiki.twitter.com/OAuth-FAQ).

- --
Justin C. Klein Keane
http://www.MadIrish.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iPwEAQECAAYFAkt5hsIACgkQkSlsbLsN1gBYDAb+IxFbwW1JnQ9mRF5Cdn8nu/LZ
Q0Er+sMGqhqogIIi58n0RX08/x5FmMUdI5L8ryyEJ+YiaC+AGY/CicCH9a4boqgQ
6UCWioGLdsgXSqZsikvEM09G2ipF16/SM4i+IZJCREMlsfhAzrutJRr04nWx/bkl
n6qKpBrgEJaoymn27DxTAffczF6aD4NweOk7yh1ZJiocpTNdEUGWH2E3iwzvJKzc
e8WH+MVX+O+PNeXBOP1saXmoj4UAkhGDKoGqsBpLVek8nIJBaU7IB1ZIR4ZDgOuz
L00owo31ZyWgL1qDazE=
=KMsh
-----END PGP SIGNATURE-----


Audyt bezpieczeństwa

Security Audit

Analiza powłamaniowa

Arrow  References :  

None

If you want change this note, please use UCP



Alert

libc/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

Copyright © SecurityReason.com. All Rights Reserved.