Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

Missing warning for wildcard routes in zend.mvc.routing.rst #1320

Closed
spipm opened this issue Jul 16, 2014 · 4 comments
Closed

Missing warning for wildcard routes in zend.mvc.routing.rst #1320

spipm opened this issue Jul 16, 2014 · 4 comments

Comments

@spipm
Copy link

spipm commented Jul 16, 2014

During a pentest I encountered some routing configuration that used Zend\Mvc\Router\Http\Wildcard as a type. This allowed me to change routing parameters, like the controller. This is a potential security issue, but I can't find a warning for this in the routing documentation. Please add this warning, telling users that using the wildcard type is a potential security issue.

@Ocramius
Copy link
Member

We already suggest that Wildcard and Query routes should not be used at all, but we indeed need to make the message more explicit. Ping @DASPRiD

@froschdesign
Copy link
Member

@Ocramius
Is the Wildcard route also deprecated? (Currently, this route type is missing in the docs.)

@Ocramius
Copy link
Member

@Freeaqingme yes, they should both be avoided, as misuse typically leads to security issues (people using route guards)

@froschdesign
Copy link
Member

@Ocramius
Okay, then we must add a hint/warning for this route type.

malukenho pushed a commit to malukenho/zf2-documentation that referenced this issue Oct 15, 2014
malukenho pushed a commit to malukenho/zf2-documentation that referenced this issue Oct 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants