7.8
CWE
264
Advisory Published
CVE Published
Updated

CVE-2015-1795

First published: Wed Mar 11 2015(Updated: )

It was discovered that the glusterfs.spec file writes a shell script under a predictable temporary name. A local attacker could potentially use this flaw to escalate their privileges to root by modifying the shell script during the installation of the glusterfs packages. The vulnerable code is: -- rpm in RHEL5 does not have os.tmpname() -- io.tmpfile() can not be resolved to a filename to pass to bash :-/ tmpname = "/tmp/glusterfs_pretrans_" .. os.date("%s") tmpfile = io.open(tmpname, "w") tmpfile:write(script) tmpfile:close() ok, how, val = os.execute("/bin/bash " .. tmpname)

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
GlusterFS=3.2
Red Hat Enterprise Linux=6.0
Red Hat Enterprise Linux=7.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2015-1795?

    CVE-2015-1795 is classified as a privilege escalation vulnerability.

  • How do I fix CVE-2015-1795?

    To remediate CVE-2015-1795, ensure that you upgrade to the patched version of GlusterFS as provided by your distribution.

  • Which versions are affected by CVE-2015-1795?

    CVE-2015-1795 affects Red Hat Gluster Storage version 3.2.

  • Can CVE-2015-1795 be exploited remotely?

    CVE-2015-1795 requires local access to the system to exploit the vulnerability.

  • What is the potential impact of CVE-2015-1795?

    If exploited, CVE-2015-1795 could allow a local attacker to gain root privileges.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203