WordPress Count per Day Plugin Arbitrary File Download and Cross Site Scripting Vulnerabilities

BID:51402

CVE-2012-895 | CVE-2012-896 |

Info

WordPress Count per Day Plugin Arbitrary File Download and Cross Site Scripting Vulnerabilities

Bugtraq ID: 51402
Class: Unknown
CVE: CVE-2012-0895
CVE-2012-0896
Remote: Yes
Local: No
Published: Jan 12 2012 12:00AM
Updated: Mar 19 2015 07:35AM
Credit: 6Scan
Vulnerable: WordPress Count per Day 2.17
Not Vulnerable: WordPress Count per Day 3.1.1

Discussion

WordPress Count per Day Plugin Arbitrary File Download and Cross Site Scripting Vulnerabilities

WordPress Count per Day plugin is prone to an arbitrary file download and a cross-site scripting vulnerability because they fail to sufficiently sanitize user-supplied data.

Attackers may leverage these issues to download arbitrary files in the context of the webserver process and execute arbitrary HTML and script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.

WordPress Count per Day versions prior to 3.1.1 are vulnerable.

Exploit / POC

WordPress Count per Day Plugin Arbitrary File Download and Cross Site Scripting Vulnerabilities

An attacker can exploit the file download issue with a browser. To exploit a cross-site scripting issue the attacker must entice an unsuspecting victim to follow a malicious URI.

The following example URIs are available:

Arbitrary file download:
http://www.example.com/wp-content/plugins/count-per-day/download.php?n=1&f=/etc/passwd

Cross-site scripting:

Solution / Fix

WordPress Count per Day Plugin Arbitrary File Download and Cross Site Scripting Vulnerabilities

Solution:
Vendor updates are available. Please see the references for details.

References

WordPress Count per Day Plugin Arbitrary File Download and Cross Site Scripting Vulnerabilities

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report