Modify ↓
Opened 17 years ago
Closed 13 years ago
#2296 closed defect (wontfix)
checking input before use
Reported by: | Owned by: | Noah Kantrowitz | |
---|---|---|---|
Priority: | high | Component: | WikiRenamePlugin |
Severity: | critical | Keywords: | input checking |
Cc: | Trac Release: | 0.10 |
Description
Sins rename_page function does not check the content of oldname and newname you can use this plugin to much more than just renaming wiki pages..
if you have "lost" your admin rights .. this would be a quick fix..
just rename a page
from: "blahblah'; INSERT INTO permission (username, action) VALUES ('lasse', 'TRAC_ADMIN');"
to: "blahblah2"
Some filtering should probably be done on the input..
Attachments (0)
Change History (3)
comment:1 follow-up: 2 Changed 17 years ago by
comment:2 Changed 17 years ago by
Replying to dagomez:
hmm .. well the last line states that it wont execute more than one statement at a time, so either this is specific to sqlite (I use MySQL) or you are using a different version of trac than me.
comment:3 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
0.10 version of the plugin is deprecated.
Note: See
TracTickets for help on using
tickets.
Hi, I'm a bit puzzled because I tried to replicate the exploit but it doesn't seem to work in my local installation. That's supposed to be good but I'm still worried.