ID CVE-2014-3453
Summary Eval injection vulnerability in the flag_import_form_validate function in includes/flag.export.inc in the Flag module 7.x-3.0, 7.x-3.5, and earlier for Drupal allows remote authenticated administrators to execute arbitrary PHP code via the "Flag import code" text area to admin/structure/flags/import. NOTE: this issue could also be exploited by other attackers if the administrator ignores a security warning on the permissions assignment page.
References
Vulnerable Configurations
  • cpe:2.3:a:flag_module_project:flag:7.x-3.0:-:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.0:-:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.0:alpha1:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.0:alpha1:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.0:alpha2:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.0:alpha2:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.0:alpha3:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.0:alpha3:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.0:alpha4:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.0:alpha4:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.0:beta1:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.0:beta1:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.0:rc1:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.0:rc1:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.1:*:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.1:*:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.2:*:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.2:*:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.3:*:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.3:*:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.4:*:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.4:*:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.5:*:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.5:*:*:*:*:drupal:*:*
  • cpe:2.3:a:flag_module_project:flag:7.x-3.x:dev:*:*:*:drupal:*:*
    cpe:2.3:a:flag_module_project:flag:7.x-3.x:dev:*:*:*:drupal:*:*
CVSS
Base: 6.5 (as of 19-05-2014 - 16:32)
Impact:
Exploitability:
CWE CWE-94
CAPEC
  • Code Injection
    An adversary exploits a weakness in input validation on the target to inject new code into that which is currently executing. This differs from code inclusion in that code inclusion involves the addition or replacement of a reference to a code file, which is subsequently loaded by the target and used as part of the code of some application.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Access
VectorComplexityAuthentication
NETWORK LOW SINGLE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:S/C:P/I:P/A:P
refmap via4
bid 67318
confirm https://bugzilla.redhat.com/show_bug.cgi?id=1096604
fulldisc 20140509 Drupal Flag 7.x-3.5 Module Vulnerability report: Arbitrary code execution due to improper input handling in flag importer
mlist [oss-security] 20140512 Re: CVE request: Drupal Flag 7.x-3.5 Module Vulnerability report: Arbitrary code execution due to improper input handling in flag importer
Last major update 19-05-2014 - 16:32
Published 17-05-2014 - 19:55
Last modified 19-05-2014 - 16:32
Back to Top