CVE-2016-0634: OS Command Injection

Published Sep 20, 2016
·
Updated

A vulnerability was found in a way bash expands the $HOSTNAME. Injecting the hostname with malicious code would cause it to run each time bash expanded \h in the prompt string.

References:

http://seclists.org/oss-sec/2016/q3/528

Ubuntu bug:

https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1507025

Other sources

The expansion of '\h' in the prompt string in bash 4.3 allows remote authenticated users to execute arbitrary code via shell metacharacters placed in 'hostname' of a machine.

MITRE

Affected Software

1 affected component
GNU Bash=4.3

Event History

Sep 20, 2016
Data Sourced
via Red Hat·08:31 AM
DescriptionSeverityAffected Software
Aug 28, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-0634?

CVE-2016-0634 is considered a medium severity vulnerability, potentially allowing remote code execution.

2

How do I fix CVE-2016-0634?

To fix CVE-2016-0634, update GNU Bash to version 4.3 or later.

3

What systems are affected by CVE-2016-0634?

CVE-2016-0634 affects systems running GNU Bash version 4.3 specifically.

4

What is the nature of the vulnerability in CVE-2016-0634?

CVE-2016-0634 is a vulnerability in how Bash expands the $HOSTNAME variable, which allows for code injection.

5

Can CVE-2016-0634 be exploited remotely?

Yes, CVE-2016-0634 can potentially be exploited remotely by manipulating the hostname.

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