r/sysadmin • Sysadmin • 7d ago

Unauthenticated Remote Code Execution in Ruby (ruby2ßhell)

https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5

https://verialabs.com/ruby2shell/

CVE-2026-132825

All Ruby versions back to 2.4.0 are vulnerable. Patches available for 3.3 and up.

159 Upvotes

48 comments sorted by

59

u/Meeeepmeeeeepp 7d ago

Weeeeeeeeeeeeeeeeeee

71

u/Dependent_House7077 7d ago

soon they'll run out of *2shell stuff

15

u/eatmynasty 7d ago

2Girls1Shell

6

u/IdiosyncraticBond 7d ago

OnlyShells

9

u/meditonsin Sysadmin 7d ago

2

u/ric2b 7d ago

holy hell

2

u/fourpotatoes 7d ago

Also fully remediates your ability to use the computer.

Yes please.

43

u/_peacemonger_ Custom 7d ago

That's when we'll get *2shell2

8

u/Dependent_House7077 7d ago

i already have fatigue

8

u/ptear 7d ago

Battle fatigue from all of the shell shock.

4

u/Dependent_House7077 7d ago

good name for that class of exploits.

4

u/meditonsin Sysadmin 7d ago

3

u/Dependent_House7077 7d ago

i was referring to the feeling of fatigue, like it's now referred to as ptsd.

Post Traumatic Shell Disorder.

52

u/TheLexikitty 7d ago

2Shell2Furious

10

u/greyfox199 7d ago

shell 2 electric boogaloo

2

u/Kyky_Geek 6d ago

2S2F: Tokyo 2Shell

3

u/TheLexikitty 6d ago

Shell2Family

97

u/kennedye2112 Oh I'm bein' followed by an /etc/shadow 7d ago

You gotta be fuckin’ kidding me with this week 😭

79

u/uberduck 7d ago • Bravo

Lemme just unplug all the shit and enjoy No Net November

8

u/Turindo 7d ago

You just made our office laugh out loud twice, thank you

1

u/TaosMesaRat 7d ago

No Net November helps everyone complete No Nut November. Doin my part!

21

u/TheLexoPlexx 7d ago edited 7d ago

it's alright, nobody uses ruby. /s

18

u/da_peda Jack of All Trades 7d ago

Except Gitlab. And Github Enterprise Server. And all the stuff running on Rails, like Github, Twitch, Airbnb, …

2

u/TheLexoPlexx 7d ago

You said GitHub twice, lol

Added the /s

9

u/hadrabap DevOps 7d ago

Maybe because GitHub in the cloud and GitHub Enterprise (on premises) are two different products? 😁

44

u/mianghuei 7d ago

Everybody gets an Unauthenticated RCE!

19

u/TheLexikitty 7d ago

I’m going to go live on a boat

11

u/IdiosyncraticBond 7d ago

As long as you patched boat2shell

7

u/TheLexikitty 7d ago

Aw god dammit boat starts filling up with water

1

u/Professional-Heat690 7d ago

It's shell2boat you need to watch out for

17

u/ersentenza 7d ago

Is my doorbell free from RCEs or do I have to be afraid of that too?

15

u/SVD_NL Jack of All Trades 7d ago

Stick2Shell, a dude with a stick encodes a payload by pressing your doorbell, the magnetic field of the doorbell wires can penetrate unshielded utp cables and get rce on your network equipment

7

u/cmd_blue 7d ago

Do you have a smart doorbell..?

9

u/reegz One of those InfoSec assholes 7d ago

This one is the real deal and sucks. It wasnt responsibly disclosed either 🙃

1

u/MrCiber 7d ago

How was it disclosed?

6

u/slonk_ma_dink Jack of All Trades 7d ago • Bravo

irresponsibly, apparently

8

u/Classic-Shake6517 7d ago

You have got to be fucking kidding me.

8

u/ThinkBig_Brain 7d ago

Wtf is happening.

14

u/solracarevir 7d ago

AI is happening.

14

u/Tetha 7d ago

Someone had a pretty good point there:

In the past, even the bandwidth to find these memory corruptions was limited, because not many people can do it easily. Tooling closed a lot of these, but many are still open, but you needed skilled people to actually find them.

And even if you did, massaging a 1-2 byte array overrun into an RCE is another magnitude harder. The amount of people who could do that was even smaller - and usually they'd invest their time into easier exploits.

Now you need a GPU or two and you can get 1-2... maybe not as skilled, but relentless and fast dudes poking at a memory corruption all day until they find something.

And thus, any memory corruption turns into RCE and full host takeover all of a sudden.

4

u/AnsibleAnswers 7d ago

Bugs like this were previously hard to find and those who tried had to rely on fuzzers that throw random data at the program to see what sticks. Generative AI isn't perfect but it's better than random.

1

u/Professional_Lab3925 7d ago

could we just block the German Eszett. It might block some valid german traffic, but might be a mitigation for a lot us.

This blocks unicode so maybe not complete enough....just some pseduo nginx conf.

server {

# ... your existing listen, server_name, and ssl configs ...

# Block URLs containing lowercase 'ß' (%C3%9F) or uppercase 'ẞ' (%E1%BA%9E)

location ~* (%c3%9f|%e1%ba%9e) {

return 403;

}

# ... your existing proxy_pass or Passenger/Puma configs ...

}

1

u/meditonsin Sysadmin 7d ago

That doesn't protect you from malicious values in request bodies that might be case folded by the application.

1

u/Nervous_Counter_1333 7d ago

Where's my red stapler