3 ms·
a rough idea of what is happening here - this is something like sql injection, but for jsp pages. if you use un-sanitized data in a jsp page, evaluated via spr
by andrewcooke 14y ago
a rough idea of what is happening here - this is something like sql injection, but for jsp pages. if you use un-sanitized data in a jsp page, evaluated via spring's expression language, then you may execute code, provided by users, on the server.
(expression language can be used elsewhere, but it's not so common and much less likely to received user-supplied parameters)
also, this article http://www.h-online.com/open/news/item/The-ghost-of-a-Spring-Framework-bug-haunts-old-code-1786850.html http://www.h-online.com/open/news/item/The-ghost-of-a-Spring... is much clearer about affected versions (3.0.5 and below are bad; 3.0.6 can be fixed via config; 3.1 is ok)
- andrewcooke 14y agoi'm worried the above may have confused and incorrectly reassured people, given the other comments here. this does not require explicit evaluation. it can occur when you were only trying to display the data. it is a serious bug, not a stupid programming mistake.