NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
SOAP::Lite (Score:2, Interesting)
NOTE TO SELF: When a user (especially an untrusted one!) gives you data that you expect to be in a particular format, CHECK THAT IT IS IN THAT FORMAT, FOR CHRISSAKES!
This whole thing would have been avoided if anyone had had, earlier on, the wits to do what Ilya M did, basically
die "BAD JUJU" unless m/\A[a-zA-Z][a-zA-Z_0-9]*\z/I say that unless Kulchenko shows up and immediately
Re:SOAP::Lite (Score:4, Informative)
I'm with you. I'm also astonished to find that it happened.
> CHECK THAT IT IS IN THAT FORMAT, FOR CHRISSAKES!
It's expected to be in that format. The reason for the problem is that method name wasn't verified against list of allowed methods when *class name is on the list of allowed classes*.
> MONTHS after this was mentioned in Phrack
Do you read Phrack daily? I don't read it at all. Randall brought it to my attention some time ago, and I was surprised to find later that it was discussed on perlmonks and nobody told me about that discussion. Unfortunaty with my schedule I'm only an occasional reader of use.perl, perlmonks and other perl sites.
> and ownership gets transferred immediately to someone else
Even though there is no such procedure, I wouldn't mind to know more about the person who would like to take this ownership.
I'm not trying to downplay the issue. It's my fault. In addition to that, it's probably the worse time for releasing a new version: I'm moving and have all my computers packed and shipped. I do have copies and repository with me, however I don't have my testing environment and only sporadic online access in my hotel. Still I plan to release bugfix by the next week. If you don't think it's reasonable, let me know.
Best wishes, Paul.
Reply to This
Parent