Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Ruby2ßhell: Pre-authentication RCE on stock Rails (https://verialabs.com)

398 points by jdns 1 day ago | 178 comments | View on ycombinator

cowlevel about 23 hours ago |

So the recent RCE wave seems to be people finding more single byte overflows and such, but reporting them as RCEs because AI can do the tedious grunt work of finding the rest of the vulnerability chain.

If any single byte overflow can be converted into an RCE with minimal human effort then we have no choice but to prove the whole software stack is memory safe.

circularfoyers 1 day ago |

Thought this was another vulnerability for a second, but for anyone else who thought the same, this is already covered in the Ruby advisory being discussed here https://news.ycombinator.com/item?id=50554038 (which covers six other vulnerabilities).

djha-skin about 12 hours ago |

I remember being a kid in a small town. My dad got into an auto accident, and the next day the DJs talked about it on the radio. Then we moved to the Chicago area and the morning news only ever talked about how many accidents we'd see that day on our theoretical morning commute during the traffic segment.

At what point will we stop considering individual x2shell ultra-critical CVEs news in the age of AI? Like, how many of these are we finding per hour?

barbegal about 24 hours ago |

More interested to see how you can use just a single byte overflow to trigger RCE. Definitely achievable but sounds tough.

t1234s about 19 hours ago |

For people who haven't been to Germany the character that looks like a script B is pronounced like "S". Its a bit of humor in what is an annoying problem.

Panzerschrek 1 day ago |

I suppose this function has been written first in assumption, that case conversion doesn't affect length, but later ß -> SS conversion has been added without proper testing.

weinzierl 1 day ago |

There should be other codepoints other than ß that in principle could be used for a vulnerability like that. There are even ones that expand to three codepoints, like ffi.

undefined about 13 hours ago |

undefined

GTP about 20 hours ago |

> We'll be publishing a proof of concept in a week, once people have had time to upgrade.

I think one may now decide to publish the PoC straight away or not publish it at all, since an AI agent pointed at this post would very likely be able to produce one in a few minutes.

speedgoose 1 day ago |

But can the attacker specify the encoding in rails? It's not like UTF-8 or GTFO?

zelphirkalt 1 day ago |

Name as discussed earlier here on Hackernews :) Glad they went with that name.

pdntspa about 8 hours ago |

This seems so basic that it strikes me odd that we are just now finding it. Does nobody in Germany use Ruby? That character is reasonably common in German.

olejorgenb about 21 hours ago |

I assume Gitlab.com run a fixed version, but it would be good if they could confirm it now..

shipsafestack about 14 hours ago |

[flagged]

FreeBurn 1 day ago |

[flagged]

binarybriefing about 17 hours ago |

[flagged]

francuza9 about 22 hours ago |

[dead]

lousken 1 day ago |

Scheiße2Shell?

wiether about 22 hours ago |

Get ready to upgrade your GitLab instance...

tvvocold about 24 hours ago |

One Shell a Day, Ops Run Away.

rs_rs_rs_rs_rs 1 day ago |

For once a bug name that's cool.

pluc about 22 hours ago |

Here come the united statesmen asking about Ruby 2b hell

phil294 about 22 hours ago |

Fortunately, Rails' creator DHH recommends to use Rust nowadays anyway. https://www.youtube.com/watch?v=vDjW_dRyKXY

neko_ranger about 14 hours ago |

we Germans already have a word for this, we call it ruby2ßhellen

undefined about 22 hours ago |

undefined

matiasdante about 9 hours ago |

Nginx, Java, PHP, and now Ruby...all in the same week. AI is discovering a lot of these things at a rapid pace (or maybe it's just because of all the slop code out there)

realsdx about 22 hours ago |

Another day, another RCE!

slekker about 20 hours ago |

DHH in shambles

ajainvivek about 22 hours ago |

[flagged]

lost_pointer_an about 22 hours ago |

[dead]

EINFLUSS about 21 hours ago |

[flagged]

sgt about 24 hours ago |

Django next? Although it's unlikely, Django is known to be above average in terms of security by now.

gsich about 24 hours ago |

no poc. go away.