- security: A vulnerability was found and fixed this morning that could allow a
malicious user to delete assets that they don't have rights to.
This commit is contained in:
parent
0eba64bc52
commit
e56bbe371f
2 changed files with 3 additions and 2 deletions
|
|
@ -9,6 +9,8 @@
|
|||
- fix: The upgrade script will remove any orphaned EventsCalendars and
|
||||
Events.
|
||||
- fix: Media Folder (perlDreamer Consulting, LLC)
|
||||
- security: A vulnerability was found and fixed this morning that could allow a
|
||||
malicious user to delete assets that they don't have rights to.
|
||||
|
||||
|
||||
7.3.7
|
||||
|
|
|
|||
|
|
@ -277,10 +277,9 @@ Purges a piece of content, including all it's revisions, from the system permane
|
|||
|
||||
sub www_purgeList {
|
||||
my $self = shift;
|
||||
return $self->session->privilege->insufficient() unless $self->canEdit;
|
||||
foreach my $id ($self->session->form->param("assetId")) {
|
||||
my $asset = WebGUI::Asset->newByDynamicClass($self->session,$id);
|
||||
$asset->purge;
|
||||
$asset->purge unless $asset->canEdit;
|
||||
}
|
||||
if ($self->session->form->process("proceed") ne "") {
|
||||
my $method = "www_".$self->session->form->process("proceed");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue