Opened 18 years ago
Closed 9 years ago
#951 closed defect (fixed)
Any file in the file system can be accessed via the Doxygen plugin
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | highest | Component: | DoxygenPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Similar to ticket #722, links to the DoxygenPlugin in wiki articles suffer the same issue of missing a trailing slash. I tried searching the Python source for a solution, but to no avail (I'm no Python coder!), and it only applies to pages that the plugin is unable to serve.
Additionally, I've found that in wiki links that are interpreted properly, the full filesystem location of the file to be served is present in the URL. Please can this be changed; after all, it doesn't happen if you visit the same pages by browsing through the links.
Attachments (0)
Change History (9)
comment:1 Changed 18 years ago by
Owner: | changed from Radek Bartoň to Christian Boos |
---|
comment:2 Changed 18 years ago by
Ack, but unfortunately these days I've been too busy with Trac itself. Patches welcomed ;)
The DoxygenPlugin is now also getting higher on my TODO list as I want to migrate it to 0.11. Before that, I'll try to close existing issues.
comment:3 Changed 18 years ago by
Priority: | high → highest |
---|---|
Severity: | major → blocker |
Summary: | Wrong link path in Wiki links and filesystem location of doc in URL → Any file in the file system can be accessed via the Doxygen plugin |
There is a *huge* security vulnerability in the "path" GET parameter described in this ticket.
You can replace the absolute path shown with, say, /etc/passwd and receive a copy of the that file.
comment:5 Changed 18 years ago by
r1983 should fix this, please test.
Problem is, that plugin really needs a rewrite, maybe I'll do it when porting to 0.11...
comment:8 Changed 15 years ago by
Severity: | blocker → major |
---|
I never got a reply to comment:5 ... for me the issue was fixed.
So if someone has an issue with this plugin, he's welcome to contribute patches. After all, that's how I came up there, I wanted to use that plugin, realized it was not working as well as I expected, contributed a few patches for fixing several issues, and made some improvements like the 0.11 port. Anyone is welcomed to do the same.
You obviously ment ticket #772. DoxygenPlugin is currently developed by cboos, so I'm reassigning this ticket to him. But IMHO it is duplicate and this information should be appended to #772.