Ticket #2122 (closed patch: fixed)
Bug in PageComments class (Security)
| Reported by: | simon_w | Owned by: | aoneil |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | Sapphire Framework | Version: | |
| Severity: | medium effort / impact | Keywords: | |
| Cc: | Hours: |
Description
In PageComment?.php, it is possible to run a SQL injection by calling the rss() method with a malicious pageid.
This patch simply casts $_REQUESTpageid? to an int before adding it to the query.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
