vendor:
jui_filter_rules
by:
Timo Schmid
6.8
CVSS
CRITICAL
Code Execution
78
CWE
Product Name: jui_filter_rules
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: NO
Related CWE: <unassigned>
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
Reported
PHP Code Execution in jui_filter_rules Parsing Library
jui_filter_rules is a jQuery plugin which allows users to generate a ruleset which could be used to filter datasets inside a web application. The plugin also provides a PHP library to turn the user submitted ruleset into SQL where statements for server side filtering. This PHP library contains a feature which allows to convert the submitted filter values with server side functions. These functions can be specified within the ruleset, which leads to an arbitrary PHP code execution.
Mitigation:
The attack vector could be limited by existing validation mechanisms around the library, but this would require a partial manual parsing of the user supplied rules.