1. CVE archive
  2. 2012
  3. CVE-2012-4549

CVE-2012-4549

6.5 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N 6.5 – Medium

Description

A flaw was found in JBoss Enterprise Application Platform. The `processInvocation` function within the `org.jboss.as.ejb3.security.AuthorizationInterceptor` component incorrectly authorizes all requests when no roles are defined for an Enterprise Java Beans (EJB) method invocation. This allows attackers to bypass intended access restrictions for EJB methods, leading to unauthorized access to sensitive functionalities.

Affected products

VendorProductVersionPlatform
redhat jboss enterprise application platform <= 6.0.0 –
redhat jboss enterprise application platform 4.2.0 –
redhat jboss enterprise application platform 4.3.0 –
redhat jboss enterprise application platform 5.0.0 –
redhat jboss enterprise application platform 5.0.1 –
redhat jboss enterprise application platform 5.1.0 –
redhat jboss enterprise application platform 5.1.1 –
redhat jboss enterprise application platform 5.1.2 –
redhat jboss enterprise application platform 5.2.0 –
redhat jboss enterprise application platform 5.2.1 –
redhat jboss enterprise application platform 5.2.2 –
All 359 Redhat Jboss Enterprise Application Platform vulnerabilities

Vulnerability type

CWE-266 Incorrect Privilege Assignment

A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.

Impact on systems

ScopeImpact
Access Control Gain Privileges or Assume Identity
A user can access restricted functionality and/or sensitive information that may include administrative functionality and user accounts.

How to prevent it

Architecture and Design · Operation Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Architecture and Design · Operation · Environment Hardening Run your code using the lowest privileges that are required to accomplish the necessary tasks. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.

All 1,269 CWE-266 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org