<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.css?cache=2026-11-13T15:19:59+00:00" type="text/css"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	     xmlns:dc="http://purl.org/dc/elements/1.1/"
	   xmlns:atom="http://www.w3.org/2005/Atom"
	     xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	  xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<html:meta xmlns:html="http://www.w3.org/1999/xhtml" name="viewport" content="width=device-width" />
<channel>
	<title>gove &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/gove/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Tue, 04 Mar 2025 09:41:47 +0000</lastBuildDate>
	<language>en-GB</language>
	<copyright>© Terence Eden. 🄯 CC BY-SA. See https://shkspr.mobi/blog/copyright-and-copyleft/</copyright>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>gove &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[The Unsecured State Part 2 - EduBase XSS (Disclosed & Fixed)]]></title>
		<link>https://shkspr.mobi/blog/2014/03/edubase-xss-disclosed/</link>
					<comments>https://shkspr.mobi/blog/2014/03/edubase-xss-disclosed/#comments</comments>
				<dc:creator><![CDATA[Terence Eden]]></dc:creator>
		<pubDate>Tue, 04 Mar 2014 12:13:52 +0000</pubDate>
		<category><![CDATA[gove]]></category><category><![CDATA[security]]></category><category><![CDATA[Unsecured State]]></category><category><![CDATA[XSS]]></category>		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=9796</guid>

		
		<description>This is part 2 of a series of blog posts looking at the security of the UK Government's web infrastructure.    Many XSS flaws rely on altering the GET parameters of a request.  Some webmasters seem to think that if their forms only use POST they will be immune from the XSS.  This is not the case.  Don't Press This Button  Pressing this button will send a POST request to the Department of…</description>
			
		<content:encoded>&lt;p&gt;This is part 2 of a &lt;a href="https://shkspr.mobi/blog/tag/unsecured-state/"&gt;series of blog posts&lt;/a&gt; looking at the security of the UK Government's web infrastructure.&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;Many XSS flaws rely on altering the GET parameters of a request.  Some webmasters seem to think that if their forms only use POST they will be immune from the XSS.  This is &lt;strong&gt;not&lt;/strong&gt; the case.&lt;/p&gt;

&lt;h2 id="dont-press-this-button"&gt;&lt;a href="https://shkspr.mobi/blog/2014/03/edubase-xss-disclosed/#dont-press-this-button"&gt;Don't Press This Button&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Pressing this button will send a POST request to the Department of Education's EduBase website.&lt;/p&gt;

&lt;form id="quickSearch" action="https://www.education.gov.uk/edubase/home.xhtml" method="post"&gt;
    &lt;input id="establishmentName.value" name="establishmentName.value" class="text autocompleteName" type="hidden" value="&lt;h1/&gt;XSS Demonstration&lt;h2&gt;&lt;a href='http://www.teachers.org.uk/campaigns/protect-teachers'&gt;Demo link&lt;/a&gt;&lt;/h2&gt;&lt;img src='https://gs1.wac.edgecastcdn.net/8019B6/data.tumblr.com/tumblr_m811uzuyp91rcq3oko1_500.jpg'/&gt;&lt;br /&gt;&lt;script&gt;alert('JavaScript XSS');&lt;/script&gt;"&gt;
&lt;button&gt;&lt;h2 id="demonstrate-xss"&gt;&lt;a href="https://shkspr.mobi/blog/2014/03/edubase-xss-disclosed/#demonstrate-xss"&gt;Demonstrate XSS&lt;/a&gt;&lt;/h2&gt;&lt;/button&gt;
&lt;/form&gt;

&lt;p&gt;Up until yesterday, the site would blindly echo back anything that was sent to it.  Which resulted in the page looking something like this:
&lt;img src="https://shkspr.mobi/blog/wp-content/uploads/2014/02/Edubase-XSS-fs8.png" alt="Edubase XSS" width="765" height="466" class="aligncenter size-full wp-image-9801"&gt;&lt;/p&gt;

&lt;h2 id="code"&gt;&lt;a href="https://shkspr.mobi/blog/2014/03/edubase-xss-disclosed/#code"&gt;Code&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;HTML forms can direct your browser to POST information to &lt;em&gt;any&lt;/em&gt; site.  It's even possible to hide the data from the user - so all they see is a big button to press.&lt;/p&gt;

&lt;pre&gt;&lt;code class="language-html"&gt;&amp;lt;form method="post"
   id="quickSearch"
   action="http://www.education.gov.uk/edubase/home.xhtml" &amp;gt;
   &amp;lt;input id="establishmentName.value"
          name="establishmentName.value"
          type="hidden"
          value="&amp;lt;h1&amp;gt;XSS Demonstration&amp;lt;/h1&amp;gt;
                 &amp;lt;h2&amp;gt;&amp;lt;a href='http://www.teachers.org.uk/campaigns/protect-teachers'&amp;gt;Demo link&amp;lt;/a&amp;gt;&amp;lt;/h2&amp;gt;
                 &amp;lt;img src='https://gs1.wac.edgecastcdn.net/8019B6/data.tumblr.com/tumblr_m811uzuyp91rcq3oko1_500.jpg'/&amp;gt;&amp;lt;br /&amp;gt;
                 &amp;lt;script&amp;gt;alert('JavaScript XSS');&amp;lt;/script&amp;gt;"
   /&amp;gt;
   &amp;lt;button&amp;gt;Demonstrate XSS&amp;lt;/button&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;h2 id="mitigation"&gt;&lt;a href="https://shkspr.mobi/blog/2014/03/edubase-xss-disclosed/#mitigation"&gt;Mitigation&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Always escape untrusted data!&lt;/strong&gt;  Read the &lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/XSS_Filter_Evasion_Cheat_Sheet.html"&gt;OWASP cheat sheet&lt;/a&gt; for more information.&lt;/p&gt;

&lt;p&gt;When such a flaw is discovered and then reported, it is imperative that you have a plan to &lt;em&gt;rapidly&lt;/em&gt; secure it.  It took &lt;strong&gt;27 days&lt;/strong&gt; to get the fix into production.  I've no idea how long it was open for - or how many people exploited it in that time.&lt;/p&gt;

&lt;p&gt;In this case, the Department for Education have outsourced EduBase to &lt;a href="http://www.texuna.com/"&gt;Texuna&lt;/a&gt; - a technology partner.  Texuna don't have any secure way for people to report flaws to them and, when notified, struggled to find someone who could take responsibility.&lt;/p&gt;

&lt;p&gt;Texuna seemed to me unable to convey the urgency of the situation to the DfE.  A complicated public/private partnership with multiple stakeholders seems to mean that there is no way to escalate security issues.&lt;/p&gt;

&lt;p&gt;While it is vitally important to thoroughly test security patches, there's also a very real risk involved in leaving a system unpatched.&lt;/p&gt;

&lt;p&gt;This is a textbook example of where outsourcing fails.  The ideological agenda which promotes the lowest bidder is doomed to failure when a crisis occurs.  Responsibility is diffused, no one is empowered to make decisions, and without proper management oversight critical bugs are left unfixed.&lt;/p&gt;

&lt;p&gt;Compare and contrast to &lt;a href="https://shkspr.mobi/blog/2014/03/uk-parliament-xss-flaw-disclosed/" title="The Unsecured State Part 1 - UK Parliament XSS Flaw (Disclosed &amp;amp; Fixed)"&gt;yesterday's bug&lt;/a&gt;.  An identical XSS bug in the Parliament.uk website was fixed &lt;em&gt;over a weekend&lt;/em&gt;.  Because the Parliament team was centralised and highly motivated they were able to accomplish something a "highly trusted partner" could not.&lt;/p&gt;

&lt;p&gt;It is not known how many more of Texuna's client's sites are in a similarly unsecured state.&lt;/p&gt;

&lt;h2 id="timeline"&gt;&lt;a href="https://shkspr.mobi/blog/2014/03/edubase-xss-disclosed/#timeline"&gt;Timeline&lt;/a&gt;&lt;/h2&gt;

&lt;ul&gt;
    &lt;li&gt;5th February. Disclosed to Department of Education and their technology partner &lt;a href="http://www.texuna.com/"&gt;Texuna&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;7th February. Disclosed to &lt;a href="https://web.archive.org/web/20140313083224/http://www.cesg.gov.uk/policyguidance/GovCertUK/Pages/index.aspx"&gt;GovCertUK&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;12th February. Contacted the &lt;a href="http://www.tes.co.uk/"&gt;TES Newspaper&lt;/a&gt; to allow them to report on the story.&lt;/li&gt;
    &lt;li&gt;26th February. According to Texuna a fix released - to be scheduled for production "soon".&lt;/li&gt;
&lt;li&gt;28th February. Informed Texuna of publication date.&lt;/li&gt;
&lt;li&gt;3rd March. Fixed.&lt;/li&gt;
    &lt;li&gt;4th March. Published.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id="a-special-message-for-michael-gove"&gt;&lt;a href="https://shkspr.mobi/blog/2014/03/edubase-xss-disclosed/#a-special-message-for-michael-gove"&gt;A Special Message For Michael Gove&lt;/a&gt;&lt;/h2&gt;

&lt;img src="https://shkspr.mobi/blog/wp-content/uploads/2014/03/nobody-likes-you-gollum.gif" alt="Gollum from Lord of the Rings saying " nobody="" likes="" you.""="" width="244" height="240" class="aligncenter size-full wp-image-40757"&gt;
&lt;img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=9796&amp;amp;HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager"&gt;</content:encoded>
	

					<wfw:commentRss>https://shkspr.mobi/blog/2014/03/edubase-xss-disclosed/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>
