about me


my software


Yucatán Photos

St Lucia Photos

Photo Album



< July 2004 >
     1 2 3
4 5 6 7 8 910

past articles »

Click for San Francisco, California Forecast

San Francisco, USA


Checking for Cross-Site Scripting Vulnerability

Netcraft.com brings my attention to cross-site scripting security problem. I have examined this website for vulnerabilities. This problem is usually caused by systems not checking input received from user or third party before using it. One place this website receives input is the RSS new feeds. I have crafted a test RSS with embedded javascript. Some RSS feeder (including this website) display the content as is. They should have (arguably) strip off the embedded script before displaying it. I promptly plugged this by escaping the meta characters before outputting them on the web pages.

An important element for cross-site scripting is that a third party can use a reputable website as a conduit to inject questionable code in their context. In this case the news feeder's communication is only between this website and the news source. I am not aware of any loop hole for third party to get involved. But in the world of open communication it is better to be safe to test for all input before use.

2004.07.20 [, ] - comments


pyBlosxom Upgrade

I have finally ditched my home grown blog formatter for pyBlosxom, a very simple file based weblog server. It only take me several hours to setup and integrated with my web pages. Customization is fairly easy. I have designed the style to look, well, like the same old home page (pyBlosxom itself does not come with any decent template anyway). So far the only thing new is the calendar on the left. But I plan to add other features in the coming days.

I have downloaded Movable Type for months and never get to set it up. The database and third party library requirement really puts me off. Yet I am able to setup pyBlosxom within hours. I am really please with its light weight design and the text file based repository.

The main motivation for upgrade is the need to add permalink to the entries. I have some successful experimented with pyBlosxom but I still need some more work before publishing them. After all, permalinks means permanent. So I want to get it right.

2004.07.01 [] - comments


past articles »


BBC News


Russia beefs up defences in Syria (28 Nov 2015)


Colorado clinic gun suspect in custody (28 Nov 2015)


France holds memorial for Paris victims (27 Nov 2015)


Catholic call to join climate marches (28 Nov 2015)


Charges over Chicago child 'execution' (27 Nov 2015)


Cairns perjury trial jury sent home (28 Nov 2015)


Suicide attack hits Nigeria Shia march (27 Nov 2015)


Children die as boats sink off Turkey (27 Nov 2015)


HSBC whistleblower jailed in absentia (27 Nov 2015)


Fake ambulance drugs smuggler convicted (27 Nov 2015)

more »


Slashdot News for nerds, stuff that matters


Ask Slashdot: Is There a Bookmark Manager That Actually Manages Bookmarks? (2015-11-28T01:37:00+00:00)


Privacy Vulnerability Exposes VPN Users' Real IP Addresses (2015-11-28T00:42:00+00:00)


NSA To End Bulk Phone Surveillance By Sunday (2015-11-27T23:44:00+00:00)


LinkedIn's Own CSS Abused For Clickjacking Attacks (2015-11-27T22:40:00+00:00)


'No Such Thing As a Free Gift' Casts a Critical Eye At Gates Foundation (2015-11-27T21:37:00+00:00)


The First Online Purchase Was a Sting CD (Or Possibly Weed) (2015-11-27T20:32:00+00:00)


VTech Hack Exposes Data On 4.8 Million Adults, 200,000 Kids (2015-11-27T19:30:00+00:00)


Swedish Court: ISPs Can't Be Forced To Ban the Pirate Bay (2015-11-27T18:26:00+00:00)

more »


TechPsychic Tech Rumors and Invented News

more »


SF Gate


Bay Area News (7 Jan 2012)


City Insider (11 Feb 2012)


Crime Scene (13 Feb 2012)


C.W Newius Column (10 Jan 2012)


C.W. Nevius Blog (11 Feb 2012)


Education News (10 Jan 2012)


KALW (11 Feb 2012)


Matier and Ross Blog (11 Feb 2012)


Daily Briefing, Nov. 28 (27 Nov 2015)


Alibaba’s Jack Ma in talks to buy Hong Kong newspaper (27 Nov 2015)


Black Friday started Thursday, with big boost in online shopping (27 Nov 2015)


Smartphones overtake desktops for holiday shopping (27 Nov 2015)


Oakland startup will help people preserve their pasts online (26 Nov 2015)


Daily Briefing, Nov. 27 (26 Nov 2015)

more »


Asia Times Online

more »


Site feed Updated: 2015-Nov-27 19:00