in reply to Re: CGI scripts and NMS
in thread CGI scripts and NMS
No comments to explain it. I understand it. If you'd asked me a year ago, I'd have had no clue. If the code is vanity code to prove how clever the authors are, that's GREAT. But, I don't believe that was their intention. Or at least, it's claimed it wasn't.s[ (?: <!--.*?--> ) | (?: <[?!].*?> ) | (?: <([a-z0-9]+)\b((?:[^>'"]|"[^"]*"|'[^']*')*)> ) | (?: </([a-z0-9]+)> ) | (?: (.[^<]*) ) ][ defined $1 ? cleanup_tag(lc $1, $2) : defined $3 ? cleanup_close(lc $3) : defined $4 ? cleanup_cdata($4) : '' ]igesx;
The particular bug that springs to mind was that you could wipe the entire guestbook from view using comment tags, and possibly invoke SSIs if they were enabled. I submitted a patch, and it was patched. Matt's code wasn't vulnerable to this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: CGI scripts and NMS
by davorg (Chancellor) on Jan 25, 2002 at 18:54 UTC | |
by gellyfish (Monsignor) on Jan 26, 2002 at 23:03 UTC | |
|
Re: Re: Re: CGI scripts and NMS
by nickjc (Initiate) on Jan 25, 2002 at 21:47 UTC | |
| |
|
Re: Re: Re: CGI scripts and NMS
by sheriff (Sexton) on Jan 25, 2002 at 17:38 UTC |