# FP Shellshock at server with lack of space

**URL:** <https://forum.greenbone.net/t/fp-shellshock-at-server-with-lack-of-space/21144>\
**Category:** Scanning / scan configuration\
**Created:** [May 11, 2025, 8:41am UTC](https://forum.greenbone.net/t/fp-shellshock-at-server-with-lack-of-space/21144 "2025-05-11T08:41:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PiRomant](https://forum.greenbone.net/letter_avatar/piromant/32/6_449c533f586939b6e5f246632a46421f.png) [@PiRomant](https://forum.greenbone.net/u/PiRomant)\
**Post date:** [May 11, 2025, 8:41am UTC](https://forum.greenbone.net/t/fp-shellshock-at-server-with-lack-of-space/21144/1 "2025-05-11T08:41:31Z")

</div>

# GNU Bash Environment Variable Handling RCE Vulnerability (Shellshock, Linux/Unix SSH Login, CVE-2014-7186) - Active Check

False positive at server with lack of space  
OS: Ubuntu 20.04

> **Report**
>
> ## Summary
> 
> GNU Bash is prone to a remote command execution (RCE) vulnerability dubbed ‘Shellshock’.
> 
> ## Detection Result
> 
> Used command: `/usr/bin/bash -c 'true <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF' || echo 'CVE-2014-7186 vulnerable, redir_stack'`
> 
> Result: /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF') /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF’)  
> /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF') /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF’)  
> /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF') /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF’)  
> /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF') /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF’)  
> /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF') /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF’)  
> /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF') /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF’)  
> /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF') /usr/bin/bash: warning: here-document at line 0 delimited by end-of-file (wanted `EOF’)  
> /usr/bin/bash: cannot create temp file for here-document: **No space left on device**  
> CVE-2014-7186 vulnerable, redir\_stack
> 
> ## Product Detection Result
> 
> | Product | cpe:/a:gnu:bash:5.0.17 |
> | --- | --- |
> | Method | GNU Bash Detection (Linux/Unix SSH Login) (OID: 1.3.6.1.4.1.25623.1.0.108258) |
> 
> ## Insight
> 
> GNU bash contains a flaw that is triggered when evaluating untrusted input during stacked redirects handling.
> 
> ## Detection Method
> 
> Logs into the target machine via SSH, sends a crafted SSH command and checks the response.
> 
> | Details: | GNU Bash Environment Variable Handling RCE Vulnerability (Shellshock, …OID: 1.3.6.1.4.1.25623.1.0.802083 |
> | --- | --- |
> | Version used: | 2021-12-10T16:29:22+03:00 |

---

<div class="post-metadata">

**Author:** ![cfi](https://forum.greenbone.net/letter_avatar/cfi/32/6_449c533f586939b6e5f246632a46421f.png) [@cfi](https://forum.greenbone.net/u/cfi)\
**Post date:** [May 12, 2025, 6:35am UTC](https://forum.greenbone.net/t/fp-shellshock-at-server-with-lack-of-space/21144/2 "2025-05-12T06:35:37Z")

</div>

For such special and temporary edge cases please either:

1. create an override (See [10.8 Using Overrides and False Positives](https://docs.greenbone.net/GSM-Manual/gos-24.10/en/reports.html#using-overrides-and-false-positives))
2. make space free on the target system

Point 2 is suggested as scanning such a target with not enough disc space available doesn’t guarantee a reliable and throughout vulnerability detection.

---

<div class="post-metadata">

**Author:** ![system](https://forum.greenbone.net/uploads/default/original/2X/4/4660e797edfaea797a8c9965246072ea26732804.png) [@system](https://forum.greenbone.net/u/system)\
**Post date:** [August 9, 2025, 8:42am UTC](https://forum.greenbone.net/t/fp-shellshock-at-server-with-lack-of-space/21144/3 "2025-08-09T08:42:07Z")

</div>

Closed on August 9, 2025, 8:42am UTC

This topic was automatically closed after 90 days. New replies are no longer allowed.
