Hello World!
life feels incomplete when theres nothing to be post here, enough with those phrank were done here (no more phrank promise ;-) unfortunately we decided to keep calm with those gov sites (slow down cowboy..) because there are so many people were "loud" when we too exposing them. infact we were call to pull down all post related to gov.my (for a while, sory guys). finish with this pathetic story, so here we go..
as you all well known Nuffnang.com is Asia’s first and leading blog advertising community.
their online platform allows advertisers to serve graphic or video based advertisements onto the thousands of local blogs that are signed up with them.
to date, over 80,000 bloggers have signed up with their platform in Singapore, Malaysia, Philippines and australia.
their ranks grow everyday.
their advertiser rollcall includes bluechips such as Citibank, Honda, Walls, AirAsia, Nokia, Nike, Nescafe, Twisties, and more.
beyond blog advertising, they also pride theirselves in being a community for bloggers by bloggers.
Nuffnang has been featured on mainstream newspapers like The Star, Malaysia and The Sunday Times, Singapore, amongst other media.
the issue..
Website: Nuffnang Community Blog Aggregator
URL: http://innit.nuffnang.com
from the site
Nuffnang’s very own blog aggregator is here! Innit revolutionalizes the Nuffnang community by helping Nuffnangers build each other’s traffic, share topics, and vote on blog entries they find interesting.
we bump to this site and found Cross Site Scripting and possible SQL Injection vulnerabilities. in term of XSS, the script seems to filter out the quote character (') using addslashes function in php. so we end up to bypass this filter using the ninja String.fromCharCode() javascript function. the Proof of Concept as below

and here the credential information pull out from remote xss.js script at ha.ckers.org. this assume that the risk for cookie stealing is high. (w00t! w00t!)

and for the sql injection, the scripts tell the world about its SQL query. this might be prone to Blind Sql Injection if properly reconstruct the injection query. as im not motivate to do the rest, im done here. the problem is common, in which the script does not filtered for user input. Nuffnang has been contacted and waiting for reply.

Solution:
fundamentally, this means that all web application output impacted by any user must be filtered (so characters that can cause this problem are removed), encoded (so the characters that can cause this problem are encoded in a way to prevent the problem), or validated (to ensure that only "safe" data gets through). This includes all output derived from input such as URL parameters, form data, cookies, database queries, CORBA ORB results, and data from users stored in files. In many cases, filtering and validation should be done at the input, but encoding can be done during either input validation or output generation. If you're just passing the data through without analysis, it's probably better to encode the data on input (so it won't be forgotten). However, if your program processes the data, it can be easier to encode it on output instead. CERT recommends that filtering and encoding be done during data output; this isn't a bad idea, but there are many cases where it makes sense to do it at input instead. The critical issue is to make sure that you cover all cases for every output, which is not an easy thing to do regardless of approach.
P/S:
Hacking Expose! Team would like to apologize and ask for forgiveness to whom may concern regarding to full disclosure of government sites (we admit that putting the uncensored/unblurred screenshot is our biggest mistake). To make it clear, it does not come to our intention to put everyone in the highest risk. As our most intention is to keep malaysian sites hacker safe and admin awareness. Peace!