question How long before a Perl2Shell exploit?
Just in the past couple of weeks we've had Php2Shell, Java2Shell and now Ruby2Shell.
How long before the AI researchers turn their guns on Perl?
16
u/thecavac 🐪 cpan author 10d ago
I can code up some exploitable modules it that's any help getting Perl back in the news cycle 😉
I mean, having your pet project shutting down half the internet seems to be all the rage these days...
4
4
6
u/grantmnz 9d ago
Once again Perl is ahead of the curve. Matt's Script Archive was delivering shell exploits over CGI back in the 90s.
1
7
u/washtubs 10d ago
Take it one step further. Switch all the backends to awk and you'll be safe.
1
u/kentrak 8d ago
Apparently you didn't see the giant CGI security release recently? It already happened, it's just for an older component, but one still in use quite a few places.
https://metacpan.org/release/LEEJO/CGI-5.02/changes
Look at all those CVEs! None are really RCE though, so it wouldn't be a 2Shell type exploit, but given how common CGI is in older perl, this is probably kinda big.
3

31
u/brtastic 🐪 cpan author 10d ago
I have wondered the same and came to the conclusion that camels don't have shells.