depicus

changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

  1. Joint Waste Solutions – Piss Poor Security & Why Amey Nor Surrey Heath Borough Council Care

    June 14, 2018 by The Man

    I come across a few web sites with errors or issues and normally I’ll eventually find somebody to report those errors to and some are great, will fix and thank you, others will just fix and some never bother and their sites still have issues but the vast majority are not so piss poor secure I just move on. I don’t need to be thanked just for them to fix their sites.

    So over a month ago (may 2018) I came to https://www.jointwastesolutions.org so I could sign up for green waste collection, all pretty mundane until I tried to register on the redirect at https://jointwastesolutions.amcsgroup.com and it threw an error. Of course anybody who has ever worked with Windows, IIS and ASP.NET the first thing you should do is make sure custom errors are turned on, indeed they are now by default so somebody has gone out of their way to make the site less secure.

    The main reason for turning on custom errors is that without your site exposes information. In this case we can see that the site is running ASP.NET v4.6.1 which is currently 4 version out of date. It also shows that the server is using Windows 2012 which is “End of Life” in October 2018. So outdated software on a server running a nearly EoL operating system. A quick scan of the server shows it may not have been rebooted for over 400 days – so no Windows Updates !!!

    Well then let’s just hope it was set up securely….

    Nothing has been done to even remotely secure the server which leaves it open to all sorts of compromises e.g. cross site scripting. As you can see this cloud based server fails miserably.

    https://securityheaders.com/?q=jointwastesolutions.amcsgroup.com&followRedirects=on

    But at least it’s using SSL I hear you cry…. yes but much like the proverbial chocolate fireguard it’s so poorly configured as to make it almost pointless. It still uses SSL v3, is vulnerable to DROWN and POODLE, supports piss weak encryption. Now I never got as far as being able to put in credit card details or even bank details but this is clearly not PCI-DSS compliant.

    https://www.ssllabs.com/ssltest/analyze.html?d=jointwastesolutions.amcsgroup.com&latest

    You’d think that a company would be happy for somebody to quietly point out their errors but so far other a month I’ve been told by Amey’s social media team that they would pass on the information, and when nothing happened they just ignored me. Surrey Heath Borough Council originally told me as this was reported before 25th May 2018 it was not covered by the GDPR !!! So I emailed both data protection officers with the information and Amey have yet to reply and SHBC have sent two holding emails.

    I’m still trying to get to the ICO https://ico.org.uk but they seem very busy – let’s hope somebody else doesn’t or hasn’t found this childishly comically configured server. Personally I’d treat the server as compromised but then I’m averagely good at my job.


  2. Carphone Warehouse Review

    June 11, 2017 by The Man

    I wonder why Craphone Warehouse wouldn’t publish my review ?


  3. depicus is https now thanks to letsencrypt.org

    December 3, 2015 by The Man

    If you haven’t heard of letsencrypt.org they are “Let’s Encrypt is a new Certificate Authority: It’s free, automated, and open”

    Basically they will issue ssl certs for web sites free and in milliseconds, and here’s how.

    1. Get hold of the letsencrypt program

    git clone https://github.com/letsencrypt/letsencrypt
    cd letsencrypt
    ./letsencrypt-auto --help

    Then for me it was just a question of running

    ./letsencrypt-auto --apache -d depicus.com -d www.depicus.com

    And within seconds we are https – cool as <3


  4. Delete Metro Apps from Windows 10

    November 9, 2015 by The Man

    If you work in a SME and have had the pleasure of Windows 10 you’ll know that Metro (yes I know it’s not called Metro anymore) apps can be a pita and seem to have huge updates at regular intervals. 120+ mb per machine (no WUS for these apps yet) can take up a lot of valuable bandwidth and let’s not even get started about the security concerns. Indeed these apps seem to be designed with individuals in mind but not companies, I don’t want to log in with a Microsoft account just to update and secure these apps. So let’s just delete them.

    That should fix at least one of the problems with Windows 10.


  5. Change Postfix port number

    March 31, 2015 by The Man

    Sometimes you want to send out but not have every spammer try and send you rubbish on port 25 so changing to a non standard port helps with automated spammers.

    First edit the config file

    sudo nano etc/postfix/master.cf

    and find the line

    smtp inet n – n – – smtpd

    and change to

    9876 inet n – n – – smtpd

    and then save and restart Postfix

    sudo service postfix restart

    then if you need to check simply grep

    netstat -tanp | grep 9876

    which should give you at least a line like this

    tcp 0 0 0.0.0.0:9966 0.0.0.0:* LISTEN


  6. Stop Ubuntu/Debian apt-get from using ipv6

    December 31, 2014 by The Man

    Today I had a problem with apt-get using ipv6 and timing out. The answer is simple, you can force ipv4 if required.

    sudo apt-get update -o Acquire::ForceIPv4=true

    Might not solve my issue that the servers appear to be down but hoehum…