Security attack with text only blog post

I just got several security attack messages while trying to make a text only blog post while logged into my own account.  The offending blog post is pasted below, and the errors after that.  Apparently it has too much white space and all sorts of other stuff - I'm still trying to get that in by removing that formatting, but it looks lousy - plus my members won't have the advantage of knowing that is the problem  As I mentioned in another post, it is never a good situation when you are yelling "What a piece of crap!" at your own system.

-----------------

Google may buy Yelp - is this a good idea?

I read in the LA times this morining that Google may by Yelp - a site that specializes in reviews of small business.  I'm not sure I like this idea.  While at one time I think Google really was oriented towards "empowering" small business, now I think more are more they want to control them. 

I first started thinking this when I read a passionate protest against "Google SideWiki".  This is a little utility where you can comment on a website through Google, without being a member of that website.  So right now you could for example, go write "The California Small Business Community Sucks!" (please don't do that) and I would have to go write a rebuttal - another thing to deal with.  Since many sites like this are run by small business, Google is essentially trying to "trump" their site and take advantage of their hard work.

Another example is "Open ID" - it is a little more technical, but this was supposed to let people log on to sites like this with their Google ID and password.  At first I thought this was OK- it would allow people to have just one centrally managed place for their passwords.  Then I learned that webmasters that develop sites like this wouldn't even be allowed to have access to their member's email.  Special programs would have to be written to send requests to Google to send messages to members- the management of sites like this wouldn't even have access to email addresses!

This is all getting a bit too "big brother" for me.  Google is trying to "trump" the Internet.  Our only job is to provide content for them so they can sell more advertising.   What ever happened to "don't be evil"

------------------

Google ready to buy Yelp?  LA Times,  December 18, 2009

In what could be a sign that Google is ready to train its computing power on the local advertising market, the search giant was reported today to be in talks to buy Yelp, a San Francisco company that enables users to review all sorts of businesses.

The website TechCrunch, citing anonymous sources, reported that the two companies are very close to an acquisition and that the price could be in the neighborhood of $500 million. Representatives of both companies declined to comment, according to Bloomberg News.

Analysts immediately noted that Google -- which acquired AdMob last month for $750 million -- is probably particularly interested in Yelp's sales force, which operates in 30 markets and knows how to sell to local advertisers. "This would be the closest Google has gotten to buying a 'sales force' with a meaningful 'on the ground' presence in the form of local editorial people in market and telephone salespeople," Greg Sterling wrote on Search Engine Land's website.

Though Yelp has occasionally incurred the wrath of local business owners -- over negative reviews posted on the site or aggressive sales tactics -- most of the company's revenue comes from selling ads to those businesses. The company disputes the main complaints and says it works hard to serve businesses fairly. The company has also empowered thousands of average people -- it calls them "Yelpers" -- to review restaurants, dentists, retail shops and scores of other businesses.

Yelp was founded in 2004 by former PayPal employees Jeremy Stoppelman and Russel Simmons, who started with a $1-million investment from PayPal co-founder Max Levchin. It has since received an additional $30 million from venture firms DAG Ventures, Bessemer Venture Partners and Benchmark Capital, Bloomberg reported. The company says it hosts more than 8 million reviews, and more than 26 million people visited the site in November.



Impact: 35 | Tags: xss, csrf, id, rfe, sqli, lfi
Description: finds html breaking injections including whitespace attacks | Tags: xss, csrf | ID: 1
Description: finds attribute breaking injections including whitespace attacks | Tags: xss, csrf | ID: 2
Description: Detects JavaScript with(), ternary operators and XML predicate attacks | Tags: xss, csrf | ID: 7
Description: Detects JavaScript language constructs | Tags: xss, csrf, id, rfe | ID: 20
Description: Detects common comment types | Tags: xss, csrf, id | ID: 35
Description: Detects comments to exploit firefox' faulty rendering and proprietary opera attacks | Tags: xss, csrf, id | ID: 36
Description: Detects MySQL comments, conditions and ch(a)r injections | Tags: sqli, id, lfi | ID: 40
Description: Detects classic SQL injection probings 2/2 | Tags: sqli, id, lfi | ID: 43

Quote · 20 Dec 2009

UPDATE:  Removed all the spaces so the post really looks like crap and I still cant make a text only blog post on my own site.  This is bullshit - this was going to be a quick 5 minute post and I have been at it for nearly an hour.  If this pisses me off, imaging what it will do to my members - if any of them even stay after experiencing something like this.

Rob

UPDATE 2:  Ok, I was able to get that post in by raising my security level from 27 to 80, but I don't think I should have to do that.  How would I know that is not opening me up to other threats?  This is an extremely crude tool from the user perspective.  The settings should be made properly at the factory (Boonex).  This creates a VERY negative user experience.

Quote · 20 Dec 2009

Impact: 35 | Tags: xss, csrf, id, rfe, sqli, lfi

there it says 35 so 36 should be fine  not 80

Quote · 20 Dec 2009

Got two others with an impact of 76 from that same text post.   What are others here setting that number at?

Quote · 20 Dec 2009

Did you try pasting the text into notepad and then into the blog? It's nary impossible to copy from a website directly and not pickup some formating funk.

I'd be interested in knowing if actually typing the same information into the blog generated the same score. If you felt up to trying it :)

I would leave the "Warning" number at 9 and set the "Halt" input to -1 to disable it. You will get the emails but it won't stop you from making the blog post until it is ironed out more.

Quote · 20 Dec 2009

Copy 'n' Paste of your first article in the PHPIDS Smoketest generates a 14 http://demo.php-ids.org/

 

found injection: I read in the LA times this morining that Google may by Yelp - a site that specializes in reviews of small business. I'

Which means it hates that hyphen and the apostrophe :)

Quote · 20 Dec 2009

BOONEX:


You guys need to figure out how to properly implement PHPIDS.  Either that, or ditch it.  There is no reason on earth that a benign post with a few apostrophes should set off all the alarms. 

It's pretty obvious that the system is NOT evaluating user supplied input only.  The descriptions of the reported attacks should be a clue.  The user didn't add any cross site scripting code.  There is NO Cross-Site Request Forgery.  The user did NOT enter any javascript.  There certainly was no SQL injection probing.

I don't often agree with Caltrade, but I can affirm that this is indeed Bullshit of the first order.  An intrusion detection system that can not distinguish between real attacks and a benign post such as this one, is indeed, a P.O.S.

Here's a post by Lightwoof: http://www.boonex.com/unity/forums/#topic/Security-Attacks-.htm

This was a real attack, and the impact was 36.  The text that Caltrade posted had an impact of 35.  The two impacts are virtually identical, while one was a real attack, and the other was just a plain old blog post. 

At least we have the option to disable the thing altogether, and that's what I'll do.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 20 Dec 2009

@Sydeburnz.  Yes, that was copied and pasted from text editor, so it couldn't have picked up anything too weird.  What I think is strange is this happened when I was logged into the site.  Doesn't this system discriminate between something that is done by a member, and something that comes from an outside source?

Check out this one that just came in on another site.  As opposed to my text only blog post that got a score of 78, this one only got a score of 12.  Draw your own conclusion.

Rob

----------------

Total impact: 12
Affected tags: sqli, id

Variable: REQUEST.content | Value: http://community.legoeducation.us/members/1800petmeds-doxycycline/default.aspx 1800petmeds doxycycline | <a href=\"http://community.legoeducation.us/members/1800petmeds-doxycycline/default.aspx\"> 1800petmeds doxycycline </a>
http://community.legoeducation.us/members/geodon-headache/default.aspx geodon headache | <a href=\"http://community.legoeducation.us/members/geodon-headache/default.aspx\"> geodon headache </a>
http://community.legoeducation.us/members/subcantaneous-injection-of-furosemide/default.aspx subcantaneous injection of furosemide | <a href=\"http://community.legoeducation.us/members/subcantaneous-injection-of-furosemide/default.aspx\"> subcantaneous injection of furosemide </a>
http://community.legoeducation.us/members/hydrochlorothiazide-breastfeeding-newborn-constipation/default.aspx hydrochlorothiazide breastfeeding newborn constipation | <a href=\"http://community.legoeducation.us/members/hydrochlorothiazide-breastfeeding-newborn-constipation/default.aspx\"> hydrochlorothiazide breastfeeding newborn constipation </a>
http://community.legoeducation.us/members/estradiol-levels-menopause/default.aspx estradiol levels menopause | <a href=\"http://community.legoeducation.us/members/estradiol-levels-menopause/default.aspx\"> estradiol levels menopause </a>
http://community.legoeducation.us/members/furosemide-40mg-no-prescription/default.aspx furosemide 40mg no prescription | <a href=\"http://community.legoeducation.us/members/furosemide-40mg-no-prescription/default.aspx\"> furosemide 40mg no prescription </a>
http://community.legoeducation.us/members/dutasteride-avodart-boots-thailand/default.aspx dutasteride avodart boots thailand | <a href=\"http://community.legoeducation.us/members/dutasteride-avodart-boots-thailand/default.aspx\"> dutasteride avodart boots thailand </a>
http://community.legoeducation.us/members/imitrex-migraine-medication/default.aspx imitrex migraine medication | <a href=\"http://community.legoeducation.us/members/imitrex-migraine-medication/default.aspx\"> imitrex migraine medication </a>
http://community.legoeducation.us/members/hydrochlorothiazide-neck-muscle-pain/default.aspx hydrochlorothiazide neck muscle pain | <a href=\"http://community.legoeducation.us/members/hydrochlorothiazide-neck-muscle-pain/default.aspx\"> hydrochlorothiazide neck muscle pain </a>
http://community.legoeducation.us/members/geodon-discussion-forum/default.aspx geodon discussion forum | <a href=\"http://community.legoeducation.us/members/geodon-discussion-forum/default.aspx\"> geodon discussion forum </a>
http://community.legoeducation.us/members/dutasteride-analysis/default.aspx dutasteride analysis | <a href=\"http://community.legoeducation.us/members/dutasteride-analysis/default.aspx\"> dutasteride analysis </a>
http://community.legoeducation.us/members/side-affect-of-dilantin/default.aspx side affect of dilantin | <a href=\"http://community.legoeducation.us/members/side-affect-of-dilantin/default.aspx\"> side affect of dilantin </a>
http://community.legoeducation.us/members/can-i-have-alavert-and-ibuprofen/default.aspx can i have alavert and ibuprofen | <a href=\"http://community.legoeducation.us/members/can-i-have-alavert-and-ibuprofen/default.aspx\"> can i have alavert and ibuprofen </a>
http://community.legoeducation.us/members/pregnancy-and-hydroxyzine-hcl/default.aspx pregnancy and hydroxyzine hcl | <a href=\"http://community.legoeducation.us/members/pregnancy-and-hydroxyzine-hcl/default.aspx\"> pregnancy and hydroxyzine hcl </a>
http://community.legoeducation.us/members/dutasteride-topical-lotion/default.aspx dutasteride topical lotion | <a href=\"http://community.legoeducation.us/members/dutasteride-topical-lotion/default.aspx\"> dutasteride topical lotion </a>
http://community.legoeducation.us/members/boniva-and-evista/default.aspx boniva and evista | <a href=\"http://community.legoeducation.us/members/boniva-and-evista/default.aspx\"> boniva and evista </a>
http://community.legoeducation.us/members/flagyl-risk/default.aspx flagyl risk | <a href=\"http://community.legoeducation.us/members/flagyl-risk/default.aspx\"> flagyl risk </a>
http://community.legoeducation.us/members/avandia-and-glucophage/default.aspx avandia and glucophage | <a href=\"http://community.legoeducation.us/members/avandia-and-glucophage/default.aspx\"> avandia and glucophage </a>
http://community.legoeducation.us/members/fosamax-prescribing-info/default.aspx fosamax prescribing info | <a href=\"http://community.legoeducation.us/members/fosamax-prescribing-info/default.aspx\"> fosamax prescribing info </a>
http://community.legoeducation.us/members/effexor-very-tired/default.aspx effexor very tired | <a href=\"http://community.legoeducation.us/members/effexor-very-tired/default.aspx\"> effexor very tired </a>
http://community.legoeducation.us/members/alcohol-consumption-while-taking-flagyl/default.aspx alcohol consumption while taking flagyl | <a href=\"http://community.legoeducation.us/members/alcohol-consumption-while-taking-flagyl/default.aspx\"> alcohol consumption while taking flagyl </a>
http://community.legoeducation.us/members/doxycycline-and-solubility/default.aspx doxycycline and solubility | <a href=\"http://community.legoeducation.us/members/doxycycline-and-solubility/default.aspx\"> doxycycline and solubility </a>

Impact: 6 | Tags: sqli, id
Description: Detects chained SQL injection attempts 1/2 | Tags: sqli, id | ID: 48

Variable: POST.content | Value: http://community.legoeducation.us/members/1800petmeds-doxycycline/default.aspx 1800petmeds doxycycline | <a href=\"http://community.legoeducation.us/members/1800petmeds-doxycycline/default.aspx\"> 1800petmeds doxycycline </a>
http://community.legoeducation.us/members/geodon-headache/default.aspx geodon headache | <a href=\"http://community.legoeducation.us/members/geodon-headache/default.aspx\"> geodon headache </a>
http://community.legoeducation.us/members/subcantaneous-injection-of-furosemide/default.aspx subcantaneous injection of furosemide | <a href=\"http://community.legoeducation.us/members/subcantaneous-injection-of-furosemide/default.aspx\"> subcantaneous injection of furosemide </a>
http://community.legoeducation.us/members/hydrochlorothiazide-breastfeeding-newborn-constipation/default.aspx hydrochlorothiazide breastfeeding newborn constipation | <a href=\"http://community.legoeducation.us/members/hydrochlorothiazide-breastfeeding-newborn-constipation/default.aspx\"> hydrochlorothiazide breastfeeding newborn constipation </a>
http://community.legoeducation.us/members/estradiol-levels-menopause/default.aspx estradiol levels menopause | <a href=\"http://community.legoeducation.us/members/estradiol-levels-menopause/default.aspx\"> estradiol levels menopause </a>
http://community.legoeducation.us/members/furosemide-40mg-no-prescription/default.aspx furosemide 40mg no prescription | <a href=\"http://community.legoeducation.us/members/furosemide-40mg-no-prescription/default.aspx\"> furosemide 40mg no prescription </a>
http://community.legoeducation.us/members/dutasteride-avodart-boots-thailand/default.aspx dutasteride avodart boots thailand | <a href=\"http://community.legoeducation.us/members/dutasteride-avodart-boots-thailand/default.aspx\"> dutasteride avodart boots thailand </a>
http://community.legoeducation.us/members/imitrex-migraine-medication/default.aspx imitrex migraine medication | <a href=\"http://community.legoeducation.us/members/imitrex-migraine-medication/default.aspx\"> imitrex migraine medication </a>
http://community.legoeducation.us/members/hydrochlorothiazide-neck-muscle-pain/default.aspx hydrochlorothiazide neck muscle pain | <a href=\"http://community.legoeducation.us/members/hydrochlorothiazide-neck-muscle-pain/default.aspx\"> hydrochlorothiazide neck muscle pain </a>
http://community.legoeducation.us/members/geodon-discussion-forum/default.aspx geodon discussion forum | <a href=\"http://community.legoeducation.us/members/geodon-discussion-forum/default.aspx\"> geodon discussion forum </a>
http://community.legoeducation.us/members/dutasteride-analysis/default.aspx dutasteride analysis | <a href=\"http://community.legoeducation.us/members/dutasteride-analysis/default.aspx\"> dutasteride analysis </a>
http://community.legoeducation.us/members/side-affect-of-dilantin/default.aspx side affect of dilantin | <a href=\"http://community.legoeducation.us/members/side-affect-of-dilantin/default.aspx\"> side affect of dilantin </a>
http://community.legoeducation.us/members/can-i-have-alavert-and-ibuprofen/default.aspx can i have alavert and ibuprofen | <a href=\"http://community.legoeducation.us/members/can-i-have-alavert-and-ibuprofen/default.aspx\"> can i have alavert and ibuprofen </a>
http://community.legoeducation.us/members/pregnancy-and-hydroxyzine-hcl/default.aspx pregnancy and hydroxyzine hcl | <a href=\"http://community.legoeducation.us/members/pregnancy-and-hydroxyzine-hcl/default.aspx\"> pregnancy and hydroxyzine hcl </a>
http://community.legoeducation.us/members/dutasteride-topical-lotion/default.aspx dutasteride topical lotion | <a href=\"http://community.legoeducation.us/members/dutasteride-topical-lotion/default.aspx\"> dutasteride topical lotion </a>
http://community.legoeducation.us/members/boniva-and-evista/default.aspx boniva and evista | <a href=\"http://community.legoeducation.us/members/boniva-and-evista/default.aspx\"> boniva and evista </a>
http://community.legoeducation.us/members/flagyl-risk/default.aspx flagyl risk | <a href=\"http://community.legoeducation.us/members/flagyl-risk/default.aspx\"> flagyl risk </a>
http://community.legoeducation.us/members/avandia-and-glucophage/default.aspx avandia and glucophage | <a href=\"http://community.legoeducation.us/members/avandia-and-glucophage/default.aspx\"> avandia and glucophage </a>
http://community.legoeducation.us/members/fosamax-prescribing-info/default.aspx fosamax prescribing info | <a href=\"http://community.legoeducation.us/members/fosamax-prescribing-info/default.aspx\"> fosamax prescribing info </a>
http://community.legoeducation.us/members/effexor-very-tired/default.aspx effexor very tired | <a href=\"http://community.legoeducation.us/members/effexor-very-tired/default.aspx\"> effexor very tired </a>
http://community.legoeducation.us/members/alcohol-consumption-while-taking-flagyl/default.aspx alcohol consumption while taking flagyl | <a href=\"http://community.legoeducation.us/members/alcohol-consumption-while-taking-flagyl/default.aspx\"> alcohol consumption while taking flagyl </a>
http://community.legoeducation.us/members/doxycycline-and-solubility/default.aspx doxycycline and solubility | <a href=\"http://community.legoeducation.us/members/doxycycline-and-solubility/default.aspx\"> doxycycline and solubility </a>

Impact: 6 | Tags: sqli, id
Description: Detects chained SQL injection attempts 1/2 | Tags: sqli, id | ID: 48

REMOTE_ADDR: 190.5.159.34
HTTP_X_FORWARDED_FOR:
HTTP_CLIENT_IP:
SCRIPT_FILENAME: /var/www/vhosts/calstartup.com/httpdocs/modules/index.php
QUERY_STRING: r=wall/post/
REQUEST_URI: /m/wall/post/
QUERY_STRING: r=wall/post/
SCRIPT_NAME: /modules/index.php
PHP_SELF: /modules/index.php

Quote · 21 Dec 2009

I think there are known issues with the blog portion of the site that must be generating the differences. Houstonlively already covered the javascript issues when editing a blog so I suspect this may be related or in addition to that problem perhaps.

The Spam was to your Wall and it's didnt flip out which is good to see.

So I am going to assume the blog module is borked and not PHPIDS :)

I also suspect the Article Module has the same afflication as I tried to create a "How To Use Features" Article and ran into similar issues and is what sent me on a PHPIDS hunting expedition.

 

 

 

 

Quote · 21 Dec 2009

@houstonlively

I Agree. I just completed 3 mods for D7, Put them up on expertzzz, and after my first sale had to take them off until i find a way to bypass dolphins built in mysql system.

Save large text to the database in my mods using the built in dolphin database calls either times out with a error like Fatal error: Maximum execution time of 200 seconds exceeded in /home/blablabla/public_html/

plugins/phpids/IDS/Monitor.php on line 498

Or a security error occures. Small blocks of text are no problem.

So, i am writing a external api to save data to the database so it will bypass dolphin completly. These filters are junk, and as far as i am conserned they should be dumped.


https://www.deanbassett.com
Quote · 21 Dec 2009

LOL. turns out my problems with my own mods saving large blocks of text were not related to the dolphin sql queries at all.

It's the tinymce editor block i am using in my mods.

Maybe thats why they don't exist in a lot of places in D7. Perhaps they are having problems too.

This is getting fustrating.

https://www.deanbassett.com
Quote · 21 Dec 2009

@SBz    The issue I was complaining about had to do with saving blogs, and it seems to have been corrected in CS 13480.  Sometime, it's a real challenge just to convince Boonex there's a problem.  Let's see if Boonex can figure out that there's a problem with PHPIDS, if all we do is tell them so.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 21 Dec 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.