r/sysadmin • Sysadmin • 13d 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.

161 Upvotes

48 comments sorted by

59

u/Meeeepmeeeeepp 13d ago

Weeeeeeeeeeeeeeeeeee

71

u/Dependent_House7077 13d ago

soon they'll run out of *2shell stuff

15

u/eatmynasty 13d ago

2Girls1Shell

6

u/IdiosyncraticBond 13d ago

OnlyShells

9

u/meditonsin Sysadmin 13d ago

2

u/ric2b 12d ago

holy hell

2

u/fourpotatoes 12d ago

Also fully remediates your ability to use the computer.

Yes please.

43

u/_peacemonger_ Custom 13d ago

That's when we'll get *2shell2

8

u/Dependent_House7077 13d ago

i already have fatigue

8

u/ptear 13d ago

Battle fatigue from all of the shell shock.

4

u/Dependent_House7077 13d ago

good name for that class of exploits.

4

u/meditonsin Sysadmin 13d ago

3

u/Dependent_House7077 13d ago

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

Post Traumatic Shell Disorder.

52

u/TheLexikitty 13d ago

2Shell2Furious

10

u/greyfox199 13d ago

shell 2 electric boogaloo

2

u/Kyky_Geek 12d ago

2S2F: Tokyo 2Shell

3

u/TheLexikitty 12d ago

Shell2Family

97

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

You gotta be fuckin’ kidding me with this week 😭

79

u/uberduck 13d ago • Bravo

Lemme just unplug all the shit and enjoy No Net November

8

u/Turindo 13d ago

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

1

u/TaosMesaRat 12d ago

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

21

u/TheLexoPlexx 13d ago edited 13d ago

it's alright, nobody uses ruby. /s

18

u/da_peda Jack of All Trades 13d ago

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

2

u/TheLexoPlexx 13d ago

You said GitHub twice, lol

Added the /s

9

u/hadrabap DevOps 13d ago

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

44

u/mianghuei 13d ago

Everybody gets an Unauthenticated RCE!

19

u/TheLexikitty 13d ago

I’m going to go live on a boat

11

u/IdiosyncraticBond 13d ago

As long as you patched boat2shell

7

u/TheLexikitty 13d ago

Aw god dammit boat starts filling up with water

1

u/Professional-Heat690 12d ago

It's shell2boat you need to watch out for

17

u/ersentenza 13d 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 13d 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 13d ago

Do you have a smart doorbell..?

9

u/reegz One of those InfoSec assholes 13d ago

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

1

u/MrCiber 13d ago

How was it disclosed?

6

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

irresponsibly, apparently

8

u/Classic-Shake6517 13d ago

You have got to be fucking kidding me.

8

u/ThinkBig_Brain 13d ago

Wtf is happening.

14

u/solracarevir 13d ago

AI is happening.

14

u/Tetha 13d 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 12d 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 12d 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 12d 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 12d ago

Where's my red stapler