<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>PhotoPost Community - vBGallery Suggestions</title>
		<link>http://www.photopost.com/forum</link>
		<description>Post your comments, suggestions, and other feedback about PhotoPost vBGallery here.</description>
		<language>en</language>
		<lastBuildDate>Fri, 20 Nov 2009 23:24:21 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.photopost.com/forum/images/misc/rss.jpg</url>
			<title>PhotoPost Community - vBGallery Suggestions</title>
			<link>http://www.photopost.com/forum</link>
		</image>
		<item>
			<title><![CDATA[First test: VB4 beta3 ->vbgallery]]></title>
			<link>http://www.photopost.com/forum/vbgallery-suggestions/141117-first-test-vb4-beta3-vbgallery.html</link>
			<pubDate>Fri, 13 Nov 2009 08:40:13 GMT</pubDate>
			<description><![CDATA[Well finally, i tested vbgallery with the beta3 :( 
 
First.. i don't like the class programming of vb4... 
comparing vbulletin only pages 
+10 queries per page.. and + 30% memory usage.. but its a beta.. so we will see.. 
 
As to vbgallery... 
*Install went flawlessly*... (that's good news..)...]]></description>
			<content:encoded><![CDATA[<div>Well finally, i tested vbgallery with the beta3 :(<br />
<br />
First.. i don't like the class programming of vb4...<br />
comparing vbulletin only pages<br />
+10 queries per page.. and + 30&#37; memory usage.. but its a beta.. so we will see..<br />
<br />
As to vbgallery...<br />
<b>Install went flawlessly</b>... (that's good news..)<br />
Only 1 image (rating) it couldn't find.. but that will be an easy fix..<br />
<br />
Then to the functionality...<br />
That's a bummer...<br />
<br />
eval fetch_template doesnt exist anymore.. (well it does but triggers an error giving a warning at each call..)<br />
(the good thing is that the warnings are triggered by vbulletin, they added : <br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Content visible to verified customers only.</code><hr />
</div>So that's not bad for debugging...<br />
<br />
<br />
Actually, without a new version, gallery is unusable <b>as is</b> for vb4.<br />
At first sight.. it needs..<ul><li>a complete rewrite of gallery_global.php</li>
<li>Small rewrites of functions_gallery</li>
<li>a partial rewrite of the 10 main files (replacing fetch_template with $templater = vB_Template::create(...<br />
<br /></li>
<li>a complete rewrite of the templates (Thats the BIG part)</li>
</ul>Its not that hard.. but, it will be very time intense.<br />
(and here is my suggestion)<br />
<i>So Michael, forget about dating, girls, food, drinks and holidays B=0<br />
Its going to be lots of work! :p</i><br />
<br />
<b>More seriously, i think it is feasible, and will work nicely..</b><br />
But I suggest you don't upgrade to vb4 if you are in production environment<br />
<br />
Luc</div>

]]></content:encoded>
			<category domain="http://www.photopost.com/forum/vbgallery-suggestions/">vBGallery Suggestions</category>
			<dc:creator>Luciano</dc:creator>
			<guid isPermaLink="true">http://www.photopost.com/forum/vbgallery-suggestions/141117-first-test-vb4-beta3-vbgallery.html</guid>
		</item>
		<item>
			<title><![CDATA[[Suggestion] Always reprocess originals for security reasons]]></title>
			<link>http://www.photopost.com/forum/vbgallery-suggestions/141082-suggestion-always-reprocess-originals-security-reasons.html</link>
			<pubDate>Sun, 08 Nov 2009 09:43:29 GMT</pubDate>
			<description>I was doing a little reading and ran into a vulnerability of images through something called Gifar. 
Those are images combined with java jar files that can access your browser 
 
---Quote--- 
GIFARs can be files other than combined GIF+JAR files, they could also be JPG+JAR, DOC+JAR, etc. 
---End...</description>
			<content:encoded><![CDATA[<div>I was doing a little reading and ran into a vulnerability of images through something called Gifar.<br />
Those are images combined with java jar files that can access your browser<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				GIFARs can be files other than combined GIF+JAR files, they could also be JPG+JAR, DOC+JAR, etc.
			
			<hr />
		</td>
	</tr>
	</table>
</div>you can do some reading by searching Gifar on google or checking last years Black Hat conference:<br />
<a href="http://blogs.zdnet.com/security/?p=1619" target="_blank">Black Hat Sneak Preview | Zero Day | ZDNet.com</a><br />
Sun has fixed this vulnerability in java, but you dont know if your users have installed the latest java plugin for their browser...<br />
to be 100&#37; sure nobody uploads a gifar to your site, <br />
<br />
In vbgallery you have 2 possibilities..<br />
<br />
Set: <b>Save Original Files</b> to no...<br />
(drawback: you loose the original<br />
and smaller files wont be resized =&gt; keeping potential gifar danger..)<br />
<br />
Set the <b>Original Image Quality</b> from -1 to something like 75<br />
the original will then be processed and gd2 or imagemagic will create a new file without malicious code...<br />
<br />
BUT i am not sure if in that case gif or png images are really reprocessed..<br />
as the quality option only affects jpgs. ( reprocessing is excluded in vbgallery: AND $imageinfo['numericaltype'] != 1)<br />
<br />
<b>So i suggest</b> that reprocessing of gifs is allowed and forced in next vbgallery.<br />
<br />
<b>I would also Suggest</b>, that a re-size original option (with max sizes) be added to next version.. ( this has nothing to do with vulnerabilies)<br />
<br />
Luc<br />
<br />
PS: i thought about another way... but it looks like a memory hog.. :<br />
read the file into a string.. search for string like &quot;.jar&quot; or &quot;.class&quot; (is usually at the end of the code). if yes, reprocess the image..</div>

]]></content:encoded>
			<category domain="http://www.photopost.com/forum/vbgallery-suggestions/">vBGallery Suggestions</category>
			<dc:creator>Luciano</dc:creator>
			<guid isPermaLink="true">http://www.photopost.com/forum/vbgallery-suggestions/141082-suggestion-always-reprocess-originals-security-reasons.html</guid>
		</item>
	</channel>
</rss>
