Ticket #151 (closed defect: invalid)

Opened 4 years ago

Last modified 4 weeks ago

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

Change History

Changed 4 years ago by DotMG

But after taking a look in 1.1.6.0 searching for actions that would be really unsafe, only color.php remains in the list. Other files use either ReturnSafeHtml() at the end (case of table.php), or htmlspecialchars_ent and clean_Url.

Changed 4 years ago by DarTar

  • description modified (diff)

Changed 3 years ago by BrianKoontz

  • milestone set to 1.1.7

Bumped to milestone 1.1.7 so as not to get lost...

Changed 3 years ago by DotMG

  • description modified (diff)

It is actually an invalid ticket, but it is a reminder of possible future problems with new actions.

Changed 3 years ago by NilsLindenberg

  • milestone 1.1.7 deleted

For this I have removed the milestone. But we better leave it open.

Changed 3 years ago by DarTar

Then, if this issue is only a minor issue affecting the {{color}} action, I suggest we change the description accordingly (so it can be used correctly as a bugfix), refer to the changeset where it was fixed, and move any other, more general issue to a new ticket.

Changed 3 years ago by JavaWoman

  • component changed from 3rdparty to actions

Changing component to actions - it's not related to any 3rd party components we include.

Changed 4 weeks ago by BrianKoontz

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.