what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Secunia Security Advisory 21694

Secunia Security Advisory 21694
Posted Jan 3, 2007
Authored by Secunia | Site secunia.com

Secunia Security Advisory - Secunia Research has discovered some vulnerabilities and a security issue in The Address Book, which can be exploited by malicious people to bypass certain security restrictions, conduct cross-site scripting, cross-site request forgery, script insertion, and SQL injection attacks, disclose sensitive information, and compromise a vulnerable system.

tags | advisory, vulnerability, xss, sql injection, csrf
SHA-256 | 7e96499820d579e912dfd3e2d7cae02582bfcc28862c34179e0852eb8ed30f86

Secunia Security Advisory 21694

Change Mirror Download


----------------------------------------------------------------------

Secunia is proud to announce the availability of the Secunia Software
Inspector.

The Secunia Software Inspector is a free service that detects insecure
versions of software that you may have installed in your system. When
insecure versions are detected, the Secunia Software Inspector also
provides thorough guidelines for updating the software to the latest
secure version from the vendor.

Try it out online:
http://secunia.com/software_inspector/

----------------------------------------------------------------------

TITLE:
The Address Book Multiple Vulnerabilities

SECUNIA ADVISORY ID:
SA21694

VERIFY ADVISORY:
http://secunia.com/advisories/21694/

CRITICAL:
Highly critical

IMPACT:
Hijacking, Security Bypass, Cross Site Scripting, Manipulation of
data, Exposure of sensitive information, System access

WHERE:
>From remote

SOFTWARE:
The Address Book 1.x
http://secunia.com/product/11252/

DESCRIPTION:
Secunia Research has discovered some vulnerabilities and a security
issue in The Address Book, which can be exploited by malicious people
to bypass certain security restrictions, conduct cross-site scripting,
cross-site request forgery, script insertion, and SQL injection
attacks, disclose sensitive information, and compromise a vulnerable
system.

1) Input passed to the "lastname" and "firstname" parameters when
adding a new entry, the "passwordOld" and "passwordNew" parameters
when changing the password in users.php, the "id" parameter when
confirming a user in users.php, the "language" and "defaultLetter"
parameters when changing personal options in users.php, the "goTo"
and "search" parameters in search.php during searches, the
"groupAddName" parameter when adding a new group in save.php, and the
"newuserPass", "newuserType", and "newuserEmail" parameters when an
administrator adds a user in users.php isn't properly sanitised
before being used in a SQL query. This can be exploited to manipulate
SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is disabled
(except for the "id" parameter).

2) An input validation error exists in the picture upload handling
due to missing verification of the content of uploaded images. This
can be exploited to execute arbitrary HTML and script code in a
user's browser session in context of an affected site when a
specially crafted HTML document with the ".gif" or ".jpg" file
extension is viewed directly in the Microsoft Internet Explorer
browser.

3) Input passed to the "email" and "websites" parameters when adding
a new entry, and the "groupAddName" parameter when adding a new group
in save.php isn't properly sanitised before being used. This can be
exploited to inject arbitrary HTML and script code, which will be
executed in a user's browser session in context of an affected site
when the malicious user data is viewed.

Example:
Adding new entry: " onmouseover=[code] "

4) The problem is that user credentials are included in the exported
MySQL dump file generated by export.php which is accessible by normal
users. This can be exploited to disclose usernames and encrypted
passwords (MD5 sum).

5) Input passed to the "language" parameter when changing personal
options in users.php isn't properly verified, before it is used to
include files. This can be exploited to include arbitrary files from
local resources.

This can further be exploited to include arbitrary PHP code injected
into uploaded image files.

Example:
../mugshots/[file].gif%00

6) Input passed to the "errorMsg" parameter in index.php, and the
"goTo" and "search" parameters in search.php isn't properly sanitised
before being returned to the user. This can be exploited to execute
arbitrary HTML and script code in a user's browser session in context
of an affected site.

Successful exploitation requires that "register_globals" is enabled
(except for the "goTo" parameter).

7) The problem is that it is possible to register a new user account
in register.php even when "Allow User Self-Registration" has been
disabled by setting the "mode" parameter to "confirm".

8) An error exists in the picture upload handling due to the
application only validating the "Content-Type" header and not the
file extension. This can be exploited to upload a malicious PHP
script inside the web root.

9) An error exists due to the application allowing users to perform
certain actions via HTTP requests without performing any validity
checks to verify the user's request.

Example:
http://[host]/users.php?action=deleteuser&id=[id]

The vulnerabilities and the security issue are confirmed in version
1.04e. Other versions may also be affected.

SOLUTION:
Use another product.

PROVIDED AND/OR DISCOVERED BY:
Secunia Research

ORIGINAL ADVISORY:
Secunia Research:
http://secunia.com/secunia_research/2006-76/

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close