<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — FA 2312+ User Print Profile Update CSRF Attack Error]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=3468</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3468&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in FA 2312+ User Print Profile Update CSRF Attack Error.]]></description>
		<lastBuildDate>Wed, 24 Oct 2012 13:36:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: FA 2312+ User Print Profile Update CSRF Attack Error]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=13960#p13960</link>
			<description><![CDATA[<p>It seems to work after 9pm server time! <br />Failed atleast from 7:30pm till then.</p><p>No change in any scripts and it works by magic!</p><p>Even a <strong>ipconfig /flushdns</strong> with browser clear cache - MSIE and FF - on intranet (VPN) and on WAN redirection from Nettica earlier did not solve the issue earlier.</p><p>The question is how does a CSRF attack get manifest in the FA code to work at the will of an unknown hand?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 24 Oct 2012 13:36:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=13960#p13960</guid>
		</item>
		<item>
			<title><![CDATA[FA 2312+ User Print Profile Update CSRF Attack Error]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=13959#p13959</link>
			<description><![CDATA[<p>In a <strong>Non-Default Company (non zero company number) </strong>, attempting to update a User&#039;s Print Profile results in a CSRF Attack Error. </p><p>All other fields can be changed without any errors in both default and non default companies. </p><p><strong>Setup -&gt; User Accounts Setup -&gt; Edit Any User</strong></p><p>The $_SESSION[&#039;csrf_token&#039;] is different from the $_POST[&#039;_token&#039;] and hence the function <strong>check_csrf_token()</strong> in line 67 of <strong>includes/ui/ui_controls.inc</strong> fails. </p><p>This means that the session variable gets restarted on the end_form() function that generates a new session which seems to jump the gun.</p><p>Also the db schema default value for the <strong>print_profile</strong> field in the <strong>users</strong> table should be <strong>blank</strong> instead of <strong>1</strong> as it stores a string value of the profile name when assigned.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 24 Oct 2012 13:17:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=13959#p13959</guid>
		</item>
	</channel>
</rss>
