tungwaiyip.info

home

about me

links

Blog

< July 2004 >
SuMoTuWeThFrSa
     1 2 3
4 5 6 7 8 910
11121314151617
18192021222324
25262728293031

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

 

 

blog comments powered by Disqus

past articles »

 

BBC News

 

Coronavirus: Spain PM sees 'fire coming under control' (09 Apr 2020)

 

Coronavirus: WHO chief and Taiwan in row over 'racist' comments (09 Apr 2020)

 

Coronavirus fuels a surge in fake medicines (09 Apr 2020)

 

Italy 'considering' relaxing coronavirus measures (09 Apr 2020)

 

Mysteries of decorated ostrich eggs in British Museum revealed (09 Apr 2020)

 

Coronavirus: Bangladesh locks down a million in Rohingya camps (09 Apr 2020)

 

Yemen war: Coalition ceasefire to help combat coronavirus begins (09 Apr 2020)

 

Virus could push half a billion people into poverty (09 Apr 2020)

 

Coronavirus: Christians face lockdown for Easter (09 Apr 2020)

 

ISS crew blast off after long quarantine (09 Apr 2020)

more »

 

SF Gate

 

Hackers take to Zoombombing during pandemic (9 Apr 2020)

 

Ship traffic, April 9 (8 Apr 2020)

 

Ship traffic, April 8 (7 Apr 2020)

 

Ship traffic, April 7 (6 Apr 2020)

 

GM, Honda will team up on 2 electric vehicles (5 Apr 2020)

 

Startups are pummeled in the ‘great unwinding’ (5 Apr 2020)

more »


Site feed Updated: 2020-Apr-09 09:00