8000 ACL check for media uploads doesn't check subnamespaces · Issue #61 · akate/dokuwiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ACL check for media uploads doesn't check subnamespaces #61
Open
@michitux

Description

@michitux

The ACL check in ajax_mediaupload() does only check $NS, but the actual file is written to $NS:$id and $id can contain further namespaces so users can actually upload into protected subnamespaces and even overwrite files there if they have the permissions for the parent namespace. I think either the ACL check should check the namespace of $NS:$id or $id mustn't contain further namespaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0