Feeds

Labour forum leaks email addresses

'Unbelievably poor and sloppy coding'

Build a business case: developing custom apps

Basic design flaws on a Labour party members forum exposed the email addresses of users to harvesting.

Surfers who register through the site http://members.labour.org.uk were invited to confirm their membership, and activate their account, by clicking on the link in an email sent to a specified account.

The email follows the form http://members.labour.org.uk/man-auth/ActivationSent/10000XXXXX

A Reg reader who registered through the site realised that the number at the end of this URL is probably sequential, a unique id which refers to the account just registered. Sure enough, just changing the ID in the URL to a lower number led to the presentation of an email address of another registrant ...

"This is unbelievably poor and sloppy coding," our anonymous informant told El Reg  "Obviously you could use this flaw to extract a whole pile of email addresses. Spammers would love it. Guess there are also data protection issues because this breaks their own privacy policy."

Rik Ferguson, a security consultant at Trend Micro, helped El Reg confirm the flaw, which he explained had resulted from a failure to follow established best practice in website design.

"By simply stepping backwards through the number sequence it is possible to harvest the email addresses of all the people who have registered before you," Ferguson explained. "Of course this could easily be automated and the full list could be harvested in a few seconds."

"The problem is that whoever is responsible for the website design uses a direct object reference in the URL (ie: the sequential number). Not only is the reference direct, it is also sequential, making it simple to guess. Best practice is to avoid any kind of direct object reference, instead using the URL to point to an internal index or other indirect reference map. If the URL must contain a direct reference then access to it should be secured by authentication," he added.

We notified Labour's website of the flaw late last week. By Tuesday evening Labour digital staffers were well on top of the problem.

"The Labour Party is always looking for ways to improve our digital presence," a New Labour spokesman told El Reg. "We were already in the process of updating our website's sign-in security and as part of this, the issue in question has been resolved."

It's worth emphasising that the breach was restricted to email addresses and that no other information, much less payment information, was disclosed. Nonetheless the general public are entitled to hold Labour to a higher standard than a Mom and Pop shop, especially given the party's advocacy of putting such a large amount of citizens' personal information on databases while it was in power. Against this the potential rewards from a targeted phishing attack based on the easily obtained email list would have been considerable. ®

Endpoint data privacy in the cloud is easier than you think

More from The Register

next story
14 antivirus apps found to have security problems
Vendors just don't care, says researcher, after finding basic boo-boos in security software
'Things' on the Internet-of-things have 25 vulnerabilities apiece
Leaking sprinklers, overheated thermostats and picked locks all online
iWallet: No BONKING PLEASE, we're Apple
BLE-ding iPhones, not NFC bonkers, will drive trend - marketeers
Multipath TCP speeds up the internet so much that security breaks
Black Hat research says proposed protocol will bork network probes, flummox firewalls
Only '3% of web servers in top corps' fully fixed after Heartbleed snafu
Just slapping a patched OpenSSL on a machine ain't going to cut it, we're told
Microsoft's Euro cloud darkens: US FEDS can dig into foreign servers
They're not emails, they're business records, says court
Plug and PREY: Hackers reprogram USB drives to silently infect PCs
BadUSB instructs gadget chips to inject key-presses, redirect net traffic and more
How long is too long to wait for a security fix?
Synology finally patches OpenSSL bugs in Trevor's NAS
prev story

Whitepapers

7 Elements of Radically Simple OS Migration
Avoid the typical headaches of OS migration during your next project by learning about 7 elements of radically simple OS migration.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Solving today's distributed Big Data backup challenges
Enable IT efficiency and allow a firm to access and reuse corporate information for competitive advantage, ultimately changing business outcomes.
A new approach to endpoint data protection
What is the best way to ensure comprehensive visibility, management, and control of information on both company-owned and employee-owned devices?