JFFNMS auth.php Multiple Parameter SQL Injection

high Nessus Plugin ID 25461

Synopsis

The remote web server contains a PHP script that is prone to a SQL injection attack.

Description

The remote host is running JFFNMS, an open source network management and monitoring system.

The version of JFFNMS on the remote host fails to properly sanitize user-supplied input to the 'user' parameter before using it in the 'lib/api.classes.inc.php' script in database queries. If PHP's 'magic_quotes_gpc' setting is disabled, an unauthenticated, remote attacker can leverage this issue to launch SQL injection attacks against the affected application, including bypassing authentication and gaining administrative access to it.

Solution

Upgrade to JFFNMS version 0.8.4-pre3 or later.

See Also

https://www.nth-dimension.org.uk/pub/NDSA20070524.txt.asc

https://seclists.org/fulldisclosure/2007/Jun/217

Plugin Details

Severity: High

ID: 25461

File Name: jffnms_user_sql_injection.nasl

Version: 1.25

Type: remote

Family: CGI abuses

Published: 6/12/2007

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

Vulnerability Information

CPE: cpe:/a:jffnms:just_for_fun_network_management_system

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 6/10/2007

Reference Information

CVE: CVE-2007-3190

BID: 24414