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

Secunia Security Advisory 24949

Secunia Security Advisory 24949
Posted Apr 20, 2007
Authored by Secunia | Site secunia.com

Secunia Security Advisory - Aleksandar has discovered some vulnerabilities in PHP-Nuke, which can be exploited by malicious people to conduct SQL injection attacks and to bypass certain security restrictions.

tags | advisory, php, vulnerability, sql injection
SHA-256 | 997e1d8d6f8e2b1530e6a2dad06e385696f5db2d524cafc14e453673d7db7849

Secunia Security Advisory 24949

Change Mirror Download


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

Secunia customers receive relevant and filtered advisories.
Delivery is done via different channels including SMS, Email, Web,
and https based XML feed.
http://corporate.secunia.com/trial/38/request/

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

TITLE:
PHP-Nuke SQL Filter Bypass and SQL Injection Vulnerabilities

SECUNIA ADVISORY ID:
SA24949

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

CRITICAL:
Moderately critical

IMPACT:
Security Bypass, Manipulation of data, Exposure of sensitive
information

WHERE:
>From remote

SOFTWARE:
PHP-Nuke 7.x
http://secunia.com/product/2385/

DESCRIPTION:
Aleksandar has discovered some vulnerabilities in PHP-Nuke, which can
be exploited by malicious people to conduct SQL injection attacks and
to bypass certain security restrictions.

1) The product's SQL injection filter checks for the string "/*" but
not for the URL-encoded version "%2f%2a". This can be exploited to
bypass the SQL injection filter.

2) Input passed to the "lid" parameter through modules.php to
modules/Web_Links/index.php (when "l_op" is set to
"viewlinkcomments", "viewlinkeditorial", or "ratelink") is not
properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation allows e.g. retrieving administrator password
hashes, but requires that "magic_quotes_gpc" is disabled, and that the
attacker has knowledge of the database table prefix.

3) Input passed to the "lid" parameter through modules.php to
modules/Downloads/index.php (when "d_op" is set to
"viewdownloadeditorial", "viewdownloadcomments", or to
"ratedownload") is not properly sanitised before being used in SQL
queries. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

Successful exploitation allows e.g. retrieving administrator password
hashes, but requires that "magic_quotes_gpc" is disabled, and that the
attacker has knowledge of the database table prefix.

The vulnerabilities are confirmed in version 7.9. Other versions may
also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised and
that the SQL injection filter checks for both normal and URL-encoded
versions of dangerous strings.

Set "magic_quotes_gpc" in php.ini to On.

Use another product.

PROVIDED AND/OR DISCOVERED BY:
Aleksandar

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

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:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    0 Files
  • 16
    Jul 16th
    0 Files
  • 17
    Jul 17th
    0 Files
  • 18
    Jul 18th
    0 Files
  • 19
    Jul 19th
    0 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    0 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    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