Fellow monks:
A few days ago I came accross this article that exposes certain (and frightening!) vulnerabilities in some very popular terminal emulators. By the way, OS X's Terminal.app is also vulnerable to some of them.
Since we have a huge load of Perl code at our shop that sends info to the logs, it inmediately struck me: We were at risk, so I got busy. A few hours ago I uploaded Safe::Logs. What this module does is override warn(), die(), warnings::warn(), warnings::warnif() and Carp so that embedded ESC characters are replaced by a harmless placeholder, rendering the published attack ineffective.
The rationale for this was to require the smallest, safest modification possible to production code, so that applications could be patched fast. However, I would like the feedback from you so that I can incorporate the good ideas you might point out.
Best regards
-lem, but some call me fokat
In reply to Safe::Logs - Feedback appreciated by fokat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |