Lucene search
K

cuteNewsExec.txt

🗓️ 18 Jun 2005 00:00:00Reported by John CantuType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

There's a vulnerability in CuteNews from CutePHP.com that allows an admin account to execute PHP code via template file input

Code
`There is a vulnerability in the latest (and to the best of my  
knowledge, all prior versions of) CuteNews from CutePHP.com.  
  
CuteNews does not properly sanitize user input when an administrative  
account edits the template files. CuteNews takes HTML code from a web  
form and outputs it to a template file called <templatename>.tpl,  
which contains PHP code similar to the following:  
  
--snip--  
<?PHP  
$template_active = <<<HTML  
[HTML template code]  
HTML;  
$template_full = <<<HTML  
[HTML template code]  
HTML;  
?>  
--snap--  
  
By entering:  
  
--snip--  
HTML;  
[PHP code]  
$fake_template = <<<HTML  
--snap--  
  
as input to the template script, an administrative account can execute  
PHP code, opening up possibilities such as executing shell commands on  
the local system.  
  
Admittedly, this is mitigated somewhat by the fact that administrative  
access is required, but if an attacker has compromised an  
administrative account, they can use this to escalate their  
privileges.  
  
John  
`

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

18 Jun 2005 00:00Current
7.4High risk
Vulners AI Score7.4
18