FreeBSD : jdk -- jar directory traversal vulnerability (18e5428f-ae7c-11d9-837d-000e0c2e438a)

medium Nessus Plugin ID 18852

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Pluf has discovered a vulnerability in Sun Java JDK/SDK, which potentially can be exploited by malicious people to compromise a user's system.

The jar tool does not check properly if the files to be extracted have the string '../' on its names, so it's possible for an attacker to create a malicious jar file in order to overwrite arbitrary files within the filesystem.

Solution

Update the affected packages.

See Also

https://marc.info/?l=bugtraq&m=111331593310508

http://www.securiteam.com/securitynews/5IP0C0AFGW.html

http://www.nessus.org/u?3699ec34

Plugin Details

Severity: Medium

ID: 18852

File Name: freebsd_pkg_18e5428fae7c11d9837d000e0c2e438a.nasl

Version: 1.23

Type: local

Published: 7/13/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:diablo-jdk, p-cpe:/a:freebsd:freebsd:diablo-jdk-freebsd6, p-cpe:/a:freebsd:freebsd:jdk, p-cpe:/a:freebsd:freebsd:linux-blackdown-jdk, p-cpe:/a:freebsd:freebsd:linux-ibm-jdk, p-cpe:/a:freebsd:freebsd:linux-jdk, p-cpe:/a:freebsd:freebsd:linux-sun-jdk, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 4/16/2005

Vulnerability Publication Date: 4/11/2005

Reference Information

CVE: CVE-2005-1080

Secunia: 14902