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


Tension at HK government office (02 Oct 2014)


UN accuses IS of 'gross abuses' (02 Oct 2014)


Prince George 'harassment' warning (02 Oct 2014)


'80 had contact' with US Ebola man (02 Oct 2014)


Rebels push to take Donetsk airport (02 Oct 2014)


Head of US Secret Service resigns (01 Oct 2014)


Turkey debates joining war on IS (02 Oct 2014)


Chirac backs Sarkozy rival Juppe (02 Oct 2014)


Boko Haram video shows leader alive (02 Oct 2014)


Venezuelan lawmaker Serra shot dead (02 Oct 2014)

more »


Slashdot News for nerds, stuff that matters


UK Copyright Reforms Legalize Back-Ups, Protect Parody (2014-10-02T13:28:00Z)


How Hackers Accidentally Sold a Pre-Release XBox One To the FBI (2014-10-02T12:47:00Z)


New OS X Backdoor Malware Roping Macs Into Botnet (2014-10-02T12:23:00Z)


Facebook Apologizes To Drag Queens Over "Real Name" Rule (2014-10-02T12:06:00Z)


Robot Arm Will Install New Earth-Facing Cameras On Space Station (2014-10-02T09:28:00Z)


UK Government Tax Disc Renewal Website Buckles Under Pressure (2014-10-02T07:03:00Z)


Bangladesh Considers Building World's 5th-largest Data Center In Earthquake Zone (2014-10-02T04:34:00Z)


35,000 Walrus Come Ashore In Alaska (2014-10-02T03:52:00Z)

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)


Cracks seen in fracking-disclosure report process (2 Oct 2014)


Box pushes its IPO to 2015 (2 Oct 2014)


Without Gross, is Pimco Total Return worth owning? (1 Oct 2014)


Stocks drop sharply, led by airlines (1 Oct 2014)


Ship traffic (1 Oct 2014)


Comcast’s new DVR service is in the clouds (1 Oct 2014)

more »


Asia Times Online


Mangalyaan sends India's critics into orbit (Fri 26 Sep 2014 11:00:00 GMT)


Gaza and the end of 'Arab gallantry' (Fri 26 Sep 2014 11:00:00 GMT)


One door closes, another opens for IS (Fri 26 Sep 2014 11:00:00 GMT)


Terrorism as a cover for intervention (Fri 26 Sep 2014 11:00:00 GMT)


REUVEN BRENNER Brave hearts and wise heads (Fri 26 Sep 2014 11:00:00 GMT)


SPEAKING FREELY Obama neglects South Asia at his peril (Fri 26 Sep 2014 11:00:00 GMT)


Japan returning to nuclear path (Fri 26 Sep 2014 11:00:00 GMT)

more »


Site feed Updated: 2014-Oct-02 07:00