PHPGraphy <= 0.9.11 "editwelcome" unauthorized access / cross site scripting -

2006.04.17
Risk: Low
Local: No
Remote: Yes
CWE: CWE-264


Ogólna skala CVSS: 6.8/10
Znaczenie: 6.4/10
Łatwość wykorzystania: 8.6/10
Wymagany dostęp: Zdalny
Złożoność ataku: Średnia
Autoryzacja: Nie wymagana
Wpływ na poufność: Częściowy
Wpływ na integralność: Częściowy
Wpływ na dostępność: Częściowy

- PHPGraphy <= 0.9.11 "editwelcome" unauthorized access / cross site scripting - -------------------------------- software site: http://phpgraphy.sourceforge.net/ description: "Full featured photo gallery PHP script - Light, fast and easy to install" vulnerable code index.php near line 503-10: ... if ($updwelcome && isset($welcomedata) && check_welcome($dir)) { if (strlen($welcomedata) < 10000) { write_welcome($dir,$welcomedata); echo "<html><script language="javascript">window.opener.location="?dir=".rawurlencode($di r)."";window.close();</script></html>"; } else echo "Sorry more data (10k) than allowed, protection aborting the operation<br />"; exit; } ... poc, a remote user can go to this url: http://[target]/[path]/index.php?dir=&editwelcome=1&popup=0 to have unauthorized access to some edit functionalities and to insert html/ /javascript code or simply deface the main page temporary patch -> replace this line: ... if ($updwelcome && isset($welcomedata) && check_welcome($dir)) { ... with: ... if ($admin && $updwelcome && isset($welcomedata) && check_welcome($dir)) { ... ------------------------------------------------------------------------ -------- rgod site: http://retrogod.altervista.org mail: rgod at autistici.org original advisory: http://retrogod.altervista.org/phpgraphy_0911_adv.html ------------------------------------------------------------------------ --------


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top