Qnap QTS Bash OS Command Injection (CVE-2014-6271)

critical Tenable OT Security Plugin ID 502519

Synopsis

The remote OT asset is affected by a vulnerability.

Description

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution, aka ShellShock. NOTE: the original fix for this issue was incorrect; CVE-2014-7169 has been assigned to cover the vulnerability that is still present after the incorrect fix.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

Refer to the vendor advisory.

See Also

http://advisories.mageia.org/MGASA-2014-0388.html

http://jvn.jp/en/jp/JVN55667175/index.html

http://jvndb.jvn.jp/jvndb/JVNDB-2014-000126

http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673

http://www.nessus.org/u?8fb56c28

http://linux.oracle.com/errata/ELSA-2014-1293.html

http://linux.oracle.com/errata/ELSA-2014-1294.html

http://www.nessus.org/u?208f76da

http://www.nessus.org/u?5eb364d9

http://www.nessus.org/u?80d302d0

http://www.nessus.org/u?c9f5484b

http://www.nessus.org/u?41bcbd36

http://www.nessus.org/u?c44def15

http://www.nessus.org/u?696716b7

http://www.nessus.org/u?31bc99d9

http://lists.opensuse.org/opensuse-updates/2014-10/msg00023.html

http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.html

http://marc.info/?l=bugtraq&m=141216207813411&w=2

http://marc.info/?l=bugtraq&m=141216668515282&w=2

http://marc.info/?l=bugtraq&m=141235957116749&w=2

http://marc.info/?l=bugtraq&m=141319209015420&w=2

http://marc.info/?l=bugtraq&m=141330425327438&w=2

http://marc.info/?l=bugtraq&m=141330468527613&w=2

http://marc.info/?l=bugtraq&m=141345648114150&w=2

http://marc.info/?l=bugtraq&m=141383026420882&w=2

http://marc.info/?l=bugtraq&m=141383081521087&w=2

http://marc.info/?l=bugtraq&m=141383138121313&w=2

http://marc.info/?l=bugtraq&m=141383196021590&w=2

http://marc.info/?l=bugtraq&m=141383244821813&w=2

http://marc.info/?l=bugtraq&m=141383304022067&w=2

http://marc.info/?l=bugtraq&m=141383353622268&w=2

http://marc.info/?l=bugtraq&m=141383465822787&w=2

http://marc.info/?l=bugtraq&m=141450491804793&w=2

http://marc.info/?l=bugtraq&m=141576728022234&w=2

http://marc.info/?l=bugtraq&m=141577137423233&w=2

http://marc.info/?l=bugtraq&m=141577241923505&w=2

http://marc.info/?l=bugtraq&m=141577297623641&w=2

http://marc.info/?l=bugtraq&m=141585637922673&w=2

http://marc.info/?l=bugtraq&m=141694386919794&w=2

http://marc.info/?l=bugtraq&m=141879528318582&w=2

http://marc.info/?l=bugtraq&m=142113462216480&w=2

http://marc.info/?l=bugtraq&m=142118135300698&w=2

http://marc.info/?l=bugtraq&m=142358026505815&w=2

http://marc.info/?l=bugtraq&m=142358078406056&w=2

http://marc.info/?l=bugtraq&m=142546741516006&w=2

http://marc.info/?l=bugtraq&m=142719845423222&w=2

http://marc.info/?l=bugtraq&m=142721162228379&w=2

http://marc.info/?l=bugtraq&m=142805027510172&w=2

http://www.nessus.org/u?b131099d

http://www.nessus.org/u?be27da2c

http://www.nessus.org/u?1e5c2824

http://www.nessus.org/u?3db80bf5

http://www.nessus.org/u?63308d81

http://rhn.redhat.com/errata/RHSA-2014-1293.html

http://rhn.redhat.com/errata/RHSA-2014-1294.html

http://rhn.redhat.com/errata/RHSA-2014-1295.html

http://rhn.redhat.com/errata/RHSA-2014-1354.html

http://seclists.org/fulldisclosure/2014/Oct/0

http://support.apple.com/kb/HT6495

http://support.novell.com/security/cve/CVE-2014-6271.html

http://www.nessus.org/u?7269978d

http://www-01.ibm.com/support/docview.wss?uid=isg3T1021272

http://www-01.ibm.com/support/docview.wss?uid=isg3T1021279

http://www-01.ibm.com/support/docview.wss?uid=isg3T1021361

http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004879

http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897

http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004898

http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004915

http://www-01.ibm.com/support/docview.wss?uid=swg21685541

http://www-01.ibm.com/support/docview.wss?uid=swg21685604

http://www-01.ibm.com/support/docview.wss?uid=swg21685733

http://www-01.ibm.com/support/docview.wss?uid=swg21685749

http://www-01.ibm.com/support/docview.wss?uid=swg21686084

http://www-01.ibm.com/support/docview.wss?uid=swg21686131

http://www-01.ibm.com/support/docview.wss?uid=swg21686246

http://www-01.ibm.com/support/docview.wss?uid=swg21686445

http://www-01.ibm.com/support/docview.wss?uid=swg21686447

http://www-01.ibm.com/support/docview.wss?uid=swg21686494

http://www-01.ibm.com/support/docview.wss?uid=swg21687079

http://www.debian.org/security/2014/dsa-3032

http://www.kb.cert.org/vuls/id/252743

http://www.novell.com/support/kb/doc.php?id=7015701

http://www.novell.com/support/kb/doc.php?id=7015721

http://www.nessus.org/u?c77a4ecd

http://www.qnap.com/i/en/support/con_show.php?cid=61

http://www.ubuntu.com/usn/USN-2362-1

http://www.us-cert.gov/ncas/alerts/TA14-268A

http://www.vmware.com/security/advisories/VMSA-2014-0010.html

https://access.redhat.com/articles/1200223

https://access.redhat.com/node/1200223

https://bugzilla.redhat.com/show_bug.cgi?id=1141597

https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10648

http://www.nessus.org/u?dacf7829

https://support.apple.com/kb/HT6535

https://support.citrix.com/article/CTX200217

https://support.citrix.com/article/CTX200223

http://www.nessus.org/u?d12f5d80

http://www.nessus.org/u?90e62047

http://www.nessus.org/u?eced9ee4

http://www.nessus.org/u?343a7d69

https://www.exploit-db.com/exploits/34879/

https://www.exploit-db.com/exploits/37816/

https://www.exploit-db.com/exploits/38849/

https://www.exploit-db.com/exploits/39918/

https://www.exploit-db.com/exploits/40619/

https://www.exploit-db.com/exploits/40938/

https://www.exploit-db.com/exploits/42938/

https://www.suse.com/support/shellshock/

Plugin Details

Severity: Critical

ID: 502519

Version: 1.4

Type: remote

Family: Tenable.ot

Published: 10/16/2024

Updated: 10/17/2024

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Critical

Score: 9.5

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2014-6271

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:qnap:qts

Required KB Items: Tenable.ot/Qnap

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/24/2014

Vulnerability Publication Date: 9/24/2014

CISA Known Exploited Vulnerability Due Dates: 7/28/2022

Exploitable With

Core Impact

Metasploit (Qmail SMTP Bash Environment Variable Injection (Shellshock))

Reference Information

CVE: CVE-2014-6271

CWE: 78