FreeBSD : froxlor -- database password information leak (9ee72858-4159-11e5-93ad-002590263bf5)

critical Nessus Plugin ID 85369

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

[email protected] reports :

An unauthenticated remote attacker is able to get the database password via webaccess due to wrong file permissions of the /logs/ folder in froxlor version 0.9.33.1 and earlier. The plain SQL password and username may be stored in the /logs/sql-error.log file. This directory is publicly reachable under the default configuration/setup.

Note that froxlor 0.9.33.2 prevents future logging of passwords but does not retroactively remove passwords already logged. Michael Kaufmann, the Froxlor lead developer reports :

Removing all .log files from the directory should do the job, alternatively just use the class.ConfigIO.php from Github

Solution

Update the affected package.

See Also

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202262

https://seclists.org/oss-sec/2015/q3/238

http://www.nessus.org/u?71339434

http://www.nessus.org/u?f3254528

Plugin Details

Severity: Critical

ID: 85369

File Name: freebsd_pkg_9ee72858415911e593ad002590263bf5.nasl

Version: 2.7

Type: local

Published: 8/13/2015

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 5

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:froxlor, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 8/13/2015

Vulnerability Publication Date: 7/29/2015

Reference Information

CVE: CVE-2015-5959