Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Page Properties

STRIDE

-

...

Damage potential

0

...

Reproducibility

5

...

Exploitability

0

...

Affected users

10

...

Discoverability

0

DREAD Score

3

5.1.x

Yes

RPI

Yes

Quote

...

Every field, that is submitted from a form is considered as belonging to unit that processes it. This poses a security threat, because fieldĀ absenceĀ on a form doesn't mean, that if added it won't be processed.

...

Maybe we need to use deny-by-default logic, where none of fields by default isn't allowed to be submitted from a form and developer must explicitly define which fields are allowed. Right now we using same policy with permissions: everything is denied and if developer decides to:

  • give user permission, that is bound to an event being executed

  • or by other means allows access to an event

then he will be responsible for that. Hopefully developer would think twice before allowing to set forged password reset token, that in theory would allow anyone to reset any other user's password using standard "Forgot Password" form.

Also I've found a video, which explains several form-related security issues and methods, used to solve them in Laravel framework:

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width400px
urlhttp://www.youtube.com/watch?v=kVbPdLvLxUQ
height300px

https://laravel.com/docs/11.x/eloquent#mass-assignment

Related Tasks

Jira Legacy
In-Portal Issue Tracker
serverSystem Jira
serverId513b375f-8291-3313-9d9f-704c39b1f915
keyINP-1291