Security Resilience

CVE-2023-4066

Redhat Jboss A-Mq 7

Published
27 September 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0016 5th percentile
Risk Priority 41 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-4066 is a medium-severity Cleartext Storage in a File or on Disk (CWE-313) vulnerability in Redhat Jboss A-Mq. Its CVSS base score is 5.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Wi-Fi Discovery (T1016.002); ranked at the 5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

A flaw was found in Red Hat's AMQ Broker, which stores certain passwords in a secret security-properties-prop-module, defined in ActivemqArtemisSecurity CR; however, they are shown in plaintext in the StatefulSet details yaml of AMQ Broker.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003.007 Proc Filesystem Credential Access
Adversaries may gather credentials from the proc filesystem or `/proc`.
T1016.002 Wi-Fi Discovery Discovery
Adversaries may search for information about Wi-Fi networks, such as network names and passwords, on compromised systems.
T1078 Valid Accounts Stealth
Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.002 Domain Accounts Stealth
Adversaries may obtain and abuse credentials of a domain account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.003 Local Accounts Stealth
Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.004 Cloud Accounts Stealth
Valid accounts in cloud environments may allow adversaries to perform actions to achieve Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-4065Same product: Redhat Jboss A-Mq
CVE-2026-7163Same vendor: Redhat
CVE-2025-8283Same vendor: Redhat
CVE-2023-6476Same vendor: Redhat
CVE-2025-7519Same vendor: Redhat
CVE-2026-11819Same vendor: Redhat
CVE-2026-11820Same vendor: Redhat
CVE-2023-2422Same vendor: Redhat
CVE-2024-7259Same vendor: Redhat
CVE-2023-5384Same vendor: Redhat

Affected Assets

redhat
jboss a-mq
7
redhat
jboss middleware
1
redhat
openshift container platform
4.11, 4.12

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 12 hardening rules · 6 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V14.2.8

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-312 CWE-313

Requiring confidentiality protection for information at rest eliminates cleartext storage of sensitive data on persistent media.

addresses: CWE-312

Training on secure data handling discourages cleartext storage of sensitive information.

addresses: CWE-312

Data action mapping can detect storage actions that leave sensitive information in cleartext.

addresses: CWE-312

Configuration policies can mandate secure storage methods to avoid cleartext storage of sensitive information.

addresses: CWE-312

Policy requires protection measures such as encryption for sensitive data stored on media, preventing cleartext exposure.

addresses: CWE-312

Key-management policy requires protected storage of key material, preventing cleartext storage of sensitive cryptographic keys.

addresses: CWE-312

Reduces cleartext storage of sensitive data when OPSEC identifies and mandates protection of key information artifacts.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.DS-01 full match
blocks

Encryption of data-at-rest directly prevents cleartext storage while the control also addresses integrity and availability.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

Cryptography control directly mandates encryption of sensitive data at rest.

finds

A.8.29's combined programme of code review, static analysis, vulnerability scanning and penetration testing reaches cleartext storage in files and on disk through both SOURCE (static analysis flags credentials and sensitive data in config/properties files, code review catches hardcoded secrets and cleartext writes) and RUNTIME (penetration testing finds world-readable files, dynamic testing exposes accessible cleartext stores); the remainder is bounded and nameable — encoded-but-not-encrypted data (base64 etc.) that static tools may treat as opaque, cleartext written to non-standard or runtime-generated temporary files outside the scanned surface, and cleartext in binary-only third-party components where source reach does not apply.

blocks

A.8.3's access restriction mechanisms (per-identity read/write controls, isolation of sensitive data, configuration of access to information) block most exploitation of a cleartext file by preventing unauthorized users from reading it, but the weakness explicitly contemplates attackers with physical or administrator access to the raw disk, and authorized insiders (admins, backup operators) remain able to read the unencrypted data — a nameable remainder that keeps this from `full`.

blocks

A.5.15 defines a policy framework for access control rules but does not itself encrypt data at rest; cleartext storage in a file remains exploitable by anyone with file or disk access regardless of the policy.

removes

A.5.17 mandates that passwords be stored and transmitted in protected form (encrypted/hashed per approved cryptographic techniques), which removes the cleartext-storage weakness for authentication information; however, CWE-313 is broader than passwords and also covers private keys, messages, and other sensitive data stored in cleartext, which A.5.17 does not reach.

prevents

Training raises developer awareness that sensitive data should not be stored in cleartext and addresses the knowledge gap behind most instances, but it is a fallible human-practice mechanism that does not ensure consistent application, and the technical implementation (choosing encryption, managing keys) requires more than awareness.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Oracle Linux 8 (1 rule)
  • V-248525 All OL 8 local disk partitions must implement cryptographic mechanisms to prevent unauthorized disclosure or modification of all information that requires at-rest protection. blocks CWE-312, CWE-313
Oracle Linux 9 (1 rule)
  • V-271756 OL 9 local disk partitions must implement cryptographic mechanisms to prevent unauthorized disclosure or modification of all information that requires at rest protection. blocks CWE-312, CWE-313
RHEL 8 (1 rule)
  • V-230224 All RHEL 8 local disk partitions must implement cryptographic mechanisms to prevent unauthorized disclosure or modification of all information that requires at rest protection. blocks CWE-312, CWE-313
RHEL 9 (1 rule)
  • V-257879 RHEL 9 local disk partitions must implement cryptographic mechanisms to prevent unauthorized disclosure or modification of all information that requires at rest protection. blocks CWE-313

References