CVE-2015-5287: Red Hat Automatic Bug Reporting Tool Privilege Escalation Vulnerability

Published Sep 28, 2015
·
Updated

A vulnerability allowing to elevate privileges from the abrt user to root was reported. If a program starting with the name "abrt" crashes, abrt-hook-ccpp will write the coredump to /var/tmp/abrt/$filename-coredump or /var/spool/abrt/$filename-coredump. From abrt-hook-ccpp.c:

if (lastslash && strncmp(++lastslash, "abrt", 4) == 0) { / If abrtd/abrt-foo crashes, we don't want to create a directory, since that can make new copy of abrtd to process it, and maybe crash again... Unlike dirs, mere files are ignored by abrtd. / if (snprintf(path, sizeof(path), "%s/%s-coredump", gsettingsdumplocation, lastslash) >= sizeof(path)) errormsganddie("Error saving '%s': truncated long file path", path);

int abrtcorefd = xopen3(path, OWRONLY | OCREAT | OTRUNC, 0600);

The call to xopen3() does not include the flag ONOFOLLOW and is therefore vulnerable to a symlink attack.

This vulnerability is not exploitable on RHEL installations with default configuration. It can be exploitable if the system is configured to use non-RHN yum repositories. This is because yum is normally not usable by non-root users if the only configured repositories are RHN.

Note: This security flaw has been split from bug #1262252.

Other sources

Red Hat Automatic Bug Reporting Tool (ABRT) contains a privilege escalation vulnerability that could allow local users with certain permissions to gain privileges via a symlink attack on a file with a predictable name. The impacted product(s) could be end-of-life (EoL) and/or end-of-service (EoS). Users are advised to discontinue use and/or transition to a supported version.

CISA

The abrt-hook-ccpp help program in Automatic Bug Reporting Tool (ABRT) before 2.7.1 allows local users with certain permissions to gain privileges via a symlink attack on a file with a predictable name, as demonstrated by /var/tmp/abrt/abrt-hax-coredump or /var/spool/abrt/abrt-hax-coredump.

Affected Software

9 affected components
redhat Automatic Bug Reporting Tool<=2.7.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Hpc Node=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
Red Hat Automatic Bug Reporting Tool
Oracle Linux=7
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.7.1
  2. Configuration

    Mitigate the symlink attack by applying vendor-provided ABRT fix so that abrt-hook-ccpp opens the coredump path with O_NOFOLLOW (the current code path calls xopen3() without O_NOFOLLOW, enabling symlink exploitation for predictable names like /var/tmp/abrt/abrt-hax-coredump).

    ABRT (abrt-hook-ccpp.c) Core dump save location under /var/tmp/abrt or /var/spool/abrt = Ensure symlink-preventing handling (xopen3 uses O_NOFOLLOW)
  3. Compensating control

    If the system is configured to use non-RHN yum repositories such that yum is usable by non-root users, mitigate this condition (e.g., ensure non-root users cannot trigger ABRT coredump processing via the vulnerable setup); this issue is described as exploitable when using non-RHN yum repositories.

Event History

Sep 28, 2015
Data Sourced
via Red Hat·07:23 AM
DescriptionSeverityAffected Software
Dec 7, 2015
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 26, 2026
Known Exploited
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
RemedyDescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2015-5287?

CVE-2015-5287 has a high severity rating due to its potential for privilege escalation from the abrt user to root.

2

How can I fix CVE-2015-5287?

To fix CVE-2015-5287, you should update the Red Hat Automatic Bug Reporting Tool to a version above 2.7.0.

3

Which software is affected by CVE-2015-5287?

CVE-2015-5287 affects Red Hat Automatic Bug Reporting Tool versions up to 2.7.0 and Red Hat Enterprise Linux 7.0.

4

What does CVE-2015-5287 allow an attacker to do?

CVE-2015-5287 allows an attacker to elevate their privileges from the abrt user to root, posing a significant security risk.

5

Is CVE-2015-5287 specific to certain operating systems?

Yes, CVE-2015-5287 is specifically reported for Red Hat Enterprise Linux distributions, including Workstation, Server, and HPC Node.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203