Alpine: multiple phpmyadmin packages: security update to 4.8.2-r0

high Tenable Self-Hosted Container Security Plugin ID 406395

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- An issue was discovered in js/designer/move.js in phpMyAdmin before 4.8.2. A Cross-Site Scripting
vulnerability has been found where an attacker can use a crafted database name to trigger an XSS attack
when that database is referenced from the Designer feature. (CVE-2018-12581)

- An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and
potentially execute) files on the server. The vulnerability comes from a portion of code where pages are
redirected and loaded within phpMyAdmin, and an improper test for whitelisted pages. An attacker must be
authenticated, except in the "$cfg['AllowArbitraryServer'] = true" case (where an attacker can specify any
host he/she is already in control of, and execute arbitrary code on phpMyAdmin) and the
"$cfg['ServerDefault'] = 0" case (which bypasses the login requirement and runs the vulnerable code
without any authentication). (CVE-2018-12613)

See Also

https://security.alpinelinux.org/vuln/CVE-2018-12581

https://security.alpinelinux.org/vuln/CVE-2018-12613

Plugin Details

Severity: High

ID: 406395

Version: Revision 1.30

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 97.35

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.4

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

CVSS Score Source: CVE-2018-12613

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 6/19/2018

Exploitable With

Metasploit (phpMyAdmin Authenticated Remote Code Execution)

Elliot (phpMyAdmin 4.8.1 RCE)

Reference Information

CVE: CVE-2018-12581, CVE-2018-12613

BID: 104530, 104532