Project

General

Profile

Bug #149

Prewikka crashes when trying to viewing alert summary

Added by about 13 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Due date:
% Done:

0%

Resolution:
fixed

Description

Hello,

Just a few seconds ago I was trying to view the following event:

1 x SUID/SGID File Detected  (succeeded)

When viewing the event I got the following error:

local variable 'perm' referenced before assignment
Failed query: origin=alert_listing&ident=35600&view=alert_summary

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/prewikka/Core.py", line 306, in process
    getattr(view[[object"] view["handler]])()
  File "/usr/local/lib/python2.4/site-packages/prewikka/views/messagesummary.py", line 868, in render
    self.buildSourceTarget(alert)
  File "/usr/local/lib/python2.4/site-packages/prewikka/views/messagesummary.py", line 826, in buildSourceTarget
    self.buildTarget(alert)
  File "/usr/local/lib/python2.4/site-packages/prewikka/views/messagesummary.py", line 818, in buildTarget
    self.buildFile(f)
  File "/usr/local/lib/python2.4/site-packages/prewikka/views/messagesummary.py", line 773, in buildFile
    self.buildFileAccess(file)
  File "/usr/local/lib/python2.4/site-packages/prewikka/views/messagesummary.py", line 739, in buildFileAccess
    self.newTableCol(index, perm)
[[UnboundLocalError]]: local variable 'perm' referenced before assignment

History

#1 Updated by Yoann VANDOORSELAERE about 13 years ago

  • Status changed from New to Assigned

#2 Updated by Yoann VANDOORSELAERE almost 13 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

(In r8163) Fix alert summary exception with alert including file permission (fix #149).
Thanks to Robin Gruyters <> for reporting the problem.

#3 Updated by Yoann VANDOORSELAERE almost 10 years ago

  • Project changed from PRELUDE SIEM to Prewikka
  • Category deleted (5)
  • Target version deleted (0.9.5)

Also available in: Atom PDF