Skip to content
OpenAdvisories
Medium · 5.3 Public exploit CVE-2018-1313 EUVD-2022-2274GHSA-42xw-p62x-hwcf

Improper Access Control in Apache Derby

Published May 7, 2018 · Updated Sep 16, 2024 · Assigned by apache

Description

In Apache Derby 10.3.1.4 to 10.14.1.0, a specially-crafted network packet can be used to request the Derby Network Server to boot a database whose location and contents are under the user's control. If the Derby Network Server is not running with a Java Security Manager policy file, the attack is successful. If the server is using a policy file, the policy file must permit the database location to be read for the attack to work. The default Derby Network Server policy file distributed with the affected releases includes a permissive policy as the default Network Server policy, which allows the attack to work.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Derby 10.3.1.4 to 10.14.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 derby 10.14.2.0-1 —
Debian 13 derby 10.14.2.0-1 —
Debian 12 derby 10.14.2.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS derby No fix yet —
Ubuntu 16.04 LTS derby No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.derby:derby >= 10.3.1.4, < 10.14.2.0 10.14.2.0 GHSA-42xw-p62x-hwcf

References