Welcome Guest ( Log In | Register )




Collapse

Top Submitters

· NickTheGreek (127)
·  (127)
· www.yourforum.gr (61)
· nickpar (20)
· Big (1)

Collapse

Random Tutorials

cPanel activation

Tutorial name: cPanel activation
Submitted by: www.yourforum.gr


Collapse

Announcments


Welcome to Tutorial System!

Use this to understand various site aspects



Print this Tutorial 

Shell Shock : Updating Bash on WD MyCloud

Tutorial Information
Name: Shell Shock : Updating Bash on WD MyCloud
Submitter: NickTheGreek
Category: YourForum Tutorials
Submitted: 1 Oct 2014
Updated: 1 Oct 2014
Views: 419
Rating: This tutorial is unrated.
Shell Shock : Updating Bash on WD MyCloud
View All Tutorials By This Member
View Discussion Topic
Description:
updating Debian on WD MyCloud via SSH
Tutorial Instructions
Shell Shock is affecting millions of OS installations using Bash, among those are Western Digital MyCLoud HDD

For the time being they responded:

"WD¢s My Cloud family of personal cloud products is potentially susceptible to the BASH/ Shellshock vulnerability. WD¢s default software configuration and typical deployment for My Cloud devices lowers the risk to this threat. WD takes this threat seriously and is working on a patch to address this issue."

Since WD is yet to provide a firmware update we have to do it ourselves against Shell Shock Bash exploit

extra.info.png

http://community.wd.com/t5/user/viewprofilepage/user-id/309429

and here we go via SSH

* Backup your sources.list

CODE
cp /etc/apt/sources.list /etc/apt/sources.list.bak


* Edit sources.list to have the correct source

CODE
echo deb http://ftp.us.debian.org/debian/ jessie main > /etc/apt/sources.list


* Update the package list

CODE
apt-get update


* Get bash 4.3-9.1 package

CODE
apt-get install --only-upgrade bash


* Install the package

CODE
sudo dpkg -i --force-overwrite /var/cache/apt/archives/bash_4.3-9.2_armhf.deb


* Move back your original sources.list

CODE
mv -f /etc/apt/sources.list.bak /etc/apt/sources.list


PS: when installing the package, if it outputs "no file found", then the bash version might have changed (updated). If so just check which file is downloaded and use that instead. Use the following command to see which bash package was downloaded:

CODE
ls /var/cache/apt/archives/


[SOURCE]http://community.wd.com/t5/WD-My-Cloud/Shellshock-expolit-vulnerability/m-p/803133[/SOURCE]
Comments
There have been no comments made as of yet. Why not be the first?



1 user(s) active
Active Users 1 guests, 0 members, 0 anonymous members
Sorted by Last Click
Quick Stats
Board Stats There have been a total of 244 tutorials in 6 categories and 0 sub-categories with 117182 views and 24 comments
The newest tutorial is How to Add “Move to” or “Copy to” to Windows 10¢s Context Menu by NickTheGreek

RSS Lo-Fi Version Time is now: 21st June 2025 - 07:06 AM
Skin and Graphics by Dan Ellis and Anubis. Hosting by Forums & More © 2005-2011.
InvisionGames - Your #1 Arcade Games Repository | AllSigs - Signatures for all | Rock Band + Guitar Hero = RockHero ! | The Remoters - Remote Assistance | FileMiners - You ask, We find