Ticket #151 (closed defect: invalid)
Security risk of ActionParsQuoting
| Reported by: | DotMG | Owned by: | unassigned |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | actions | Version: | |
| Severity: | major | Keywords: | security beta features |
| Cc: |
Description (last modified by DotMG) (diff)
See http://wikkawiki.org/ActionParsQuoting By allowing a single quote to be used to delimit action parameters, we create a security hole because most of action-scripts are expecting that no double-quote can be present in parameters. For example, on actions/color.php, the code color c='white"></span><script.../><span style="display:none', passed thru echo "<span style=\"color: $colorcode\">".$mytext."</span>"; will lead to code <span style="color: '''white"></span><script.../><span style="display:none'''"></span>
All action-scripts should be secured before ActionParsQuoting integrated into new version, so I don't put milestone or version here as I don't exactly know when this beta feature is planned to be patched.
Tags: TagCanBeClosed