@taviso not true. env X='\' will set the X to \. You're setting a env-var and then running a sh-call as @newshtwit mentioned.
-
-
-
@fransrosen@newshtwit This is a bug in bash function parsing. Read execute_null_command(), and then we can discuss this. -
@taviso@newshtwit oops, my bad, that was stealth really. good find and a longer night over here..
-
-
-
@taviso a better test: `env X='() { (a)=>\' bash -c "echo echo vuln"; [[ "$(cat echo)" == "vuln" ]] && echo "still vulnerable :(" -
@postmodern_mod3@taviso@veorq don’t know if obvious, but replacing “bash” with “zsh” prints also “still vulnerable :(” -
@postmodern_mod3@taviso@veorq i.e. env X='() { (a)=>\' zsh -c "echo echo vuln"; [[ "$(cat echo)" == "vuln" ]] && echo "still vulnerable” - Vis andre svar
-
@Daeinar One of my followers pointed out this prints "vulnerable" because of file "echo" left in cur. dir. Does it reproduce in a clean dir? -
@jun0inoue Yeah he is right. There was an “echo” file. Doesn’t work in a clean dir. So zsh seems to be okay. Thanks for pointing it out! -
@Daeinar@jun0inoue a commenter on the redhat bug came up with using /dev/stdout to avoid leaving behind files. https://bugzilla.redhat.com/show_bug.cgi?id=1141597#c34 … -
@postmodern_mod3@jun0inoue Ah interesting! Thx for the hint.
-
-
-
another demonstration of
@taviso's new#bash parsing bug: http://seclists.org/oss-sec/2014/q3/679 … $ function a a>\ [RETURN] > foo $ whatever $ ls whatever - Vis andre svar
- Vis mere
-
-
-
-
@taviso I dont get it. you're just running: sh -c "echo date". - Vis andre svar
-
@newshtwit@taviso maybe try "bash" instead of "sh" ... it creates a file called "echo" -
- Vis mere
-
-
-
@taviso try bash -c "echo ls /etc; cat echo" without and with the X env variable set, perhaps that will better demonstrate what's going on? -
-
Indlæsning ser ud til at tage noget tid.
Twitter kan være overbelastet eller have en midlertidig forstyrrelse. Prøv igen eller besøg Twitter-status for mere information.
Tavis Ormandy
Frans Rosén
postmodern
Philipp Jovanovic
Jun Inoue
Leif Ryge
Eric Monti
newshtwit
Joshua J. Drake
Will Dietz
Chief Chaos Monkey