maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Shellshock? Maemo? (https://talk.maemo.org/showthread.php?t=93930)

jellyroll 2014-09-28 11:59

Re: Shellshock? Maemo?
 
Will there be a bash update for Maemo?

Estel 2014-09-28 21:03

Re: Shellshock? Maemo?
 
Quote:

Originally Posted by szopin (Post 1440820)
We can afford running full blown (pun unintended) and featured linux distro with the latest and greatest (gplv3 even)

Agreed. But the bash availability on N900 is hardly a replacement for busybox upgrade (and we're stuck with busybox as core /bin/sh, no matter if we like it, or not), it's just nice additional thing to have.

Now, some people argued that we don't need upstream updates to busybox (including security ones) - that busybox-power provides - in CSSU, cause we can install bash, anyway. Which is assumption broken by design, as we can either use bash AND still have ash as core /bin/sh, or only use ASH for everything.

Summing it up, my whole point was that bash isn't "cure for your all shell related needs, cancer, poverty, and all world problems combined", especially on N900. It doesn't substitute busybox updates, and busybox-power SHOULD be part of CSSU. Shame on CSSU maintainers that it isn't as there are no rational/meritocratic reasons for it, only political bash-loving and ash-hating (and letting arrogant buffoons to act as CSSU advisors *waves to joerg*, which fortunately, is thing of the past, already).

/Estel

avidscavenger 2014-10-02 02:56

Re: Shellshock? Maemo?
 
This argument is all very interesting, but can anyone provide a simple answer to the question of whether a bash update is likely to become available, and/or should I try to make one myself?

reinob 2014-10-02 06:59

Re: Shellshock? Maemo?
 
Quote:

Originally Posted by avidscavenger (Post 1441501)
This argument is all very interesting, but can anyone provide a simple answer to the question of whether a bash update is likely to become available, and/or should I try to make one myself?

I don't think anybody runs a priviledged web server with CGI support and bash as standard shell on the N900. So it's not likely that people will be running for the update.

But feel free to do it yourself :)

independent 2014-10-05 00:10

Re: Shellshock? Maemo?
 
Quote:

Originally Posted by reinob (Post 1441537)
I don't think anybody runs a priviledged web server with CGI support and bash as standard shell on the N900.

No webserver but I do have bash, ssh and a DHCP client. So that makes me vulnerable. :(

reinob 2014-10-05 15:49

Re: Shellshock? Maemo?
 
Quote:

Originally Posted by independent (Post 1441888)
No webserver but I do have bash, ssh and a DHCP client. So that makes me vulnerable. :(

If ssh worries you be sure to comment out any AcceptEnv options in your sshd_config

I'm not aware of any DHCP attack vector. Anyway, I don't think *anything* in Maemo, including the DHCP client, require bash (because it's not even installed by default), so you should be "OK".

But again, feel free to compile the latest bash. I'll see if I can do it quickly myself though.

reinob 2014-10-05 18:08

Re: Shellshock? Maemo?
 
1 Attachment(s)
So, here's the latest bash 4.3 with all 29 patches compiled (without NLS) for armel. It doesn't really need anything in terms of dependencies (although it is NOT statically compiled).

Just unpack it and put it in /usr/local/bin or wherever you find it convenient.

PS: now that "we" control TMO, can we please remove these absurd restrictions on file extension and/or attachment size?

Wikiwide 2014-10-07 11:08

Re: Shellshock? Maemo?
 
Quote:

Originally Posted by reinob (Post 1441944)
PS: now that "we" control TMO, can we please remove these absurd restrictions on file extension and/or attachment size?

Quick reply...
Can you imagine the huge, heavy photographs and drawings that will quickly appear here, and overwhelm the storage?..
Seriously, we should ask techstaff about this. Where can we find the current bugs and feature requests of Maemo server? Is there https support in the works?
Best wishes. Thank you!
~~~~~~~~~~~~~~~~~
Per aspera ad astra...

reinob 2014-10-07 13:55

Re: Shellshock? Maemo?
 
Quote:

Originally Posted by Wikiwide (Post 1442207)
Quick reply...
Can you imagine the huge, heavy photographs and drawings that will quickly
appear here, and overwhelm the storage?..
Seriously, we should ask techstaff about this. Where can we find the current bugs and feature requests of Maemo server? Is there https support in the works?

Good points. If at all, I would just hope that we can upload a .tar.gz. Surprising and annoyingly, this is not allowed (zip and gz are OK though for some reason).

And well, maybe a bit more than 800Kb would be fine..

Once techstaff sort their stuff out (if it hasn't been done yet) we could have an idea of how much space we need. I'll happily donate for another HDD or two.

reinob 2014-10-08 14:11

Re: Shellshock? Maemo?
 
1 Attachment(s)
Quick heads up. There's a new patch for bash (#30, dated October 5th). When I get some time I'll post an updated version.

Add. here it is!

Add. It passes all current tests:
Code:

$ curl https://shellshocker.net/shellshock_test.sh | bash
CVE-2014-6271 (original shellshock): not vulnerable
CVE-2014-6277 (segfault): not vulnerable
CVE-2014-6278 (Florian's patch): not vulnerable
CVE-2014-7169 (taviso bug): not vulnerable
CVE-2014-7186 (redir_stack bug): not vulnerable
CVE-2014-7187 (nested loops off by one): not vulnerable
CVE-2014-//// (exploit 3 on http://shellshocker.net/): not vulnerable
$



All times are GMT. The time now is 22:04.

vBulletin® Version 3.8.8