[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

07/26/2003 at 01:13AM PDT, ID: 20691048
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.4

How do I stop this apache exploit?

Asked by vancetech in Linux Network Security

Tags: apache, exploit

I noticed two processes running by apache this evening:
apache   32744  0.0  0.0  1364  272 ?        S    Jul25   0:00 ./ptrace
apache   32767 98.6  0.0  1348  288 ?        R    Jul25 378:36 ./localroot

and found the files in the /tmp directory:

/tmp
-rw-r--r--    1 apache   apache       1828 Mar 26 12:03 bd.c
-rwxr-xr-x    1 apache   apache      16400 Jul 25 18:01 logs
-rwxr-xr-x    1 apache   apache      17804 Apr  8 09:29 ptrace
-rwxr-xr-x    1 apache   apache      19913 Jul 26 00:33 localroot

Then I checked the apache log file and found this:

--18:01:17--  http://www.myxpls.hpg.com.br/exploit/locais/bd.c
           => `bd.c'
Resolving www.myxpls.hpg.com.br... done.
Connecting to www.myxpls.hpg.com.br[200.226.137.9]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,828 [text/plain]

    0K .                                                     100%    1.74 MB/s

18:01:17 (1.74 MB/s) - `bd.c' saved [1828/1828]

bd.c: In function `main':
bd.c:77: warning: comparison between pointer and integer

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

So my question is, what am I doing wrong that I allowed this user gain access?  I am almost completly up2date on my Redhat 7.2 linux box ( have to update the kernel they just released ) so I was under the impression that I am hacker "resistant".

Should I be taking more security steps than just making sure my rpms are up2date like compiling the latest code from source?  I thought RPMs had the latest security flaws in them fixed?  I must be missing something.

Thank you for you help :(
 
Keywords: How do I stop this apache exploit?
 
Loading Advertisement...
 
[+][-]07/26/03 07:33 AM, ID: 9010883

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Linux Network Security
Tags: apache, exploit
Sign Up Now!
Solution Provided By: jlevie
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07/26/03 07:53 PM, ID: 9013160

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/27/03 06:02 AM, ID: 9014255

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/27/03 06:04 AM, ID: 9014257

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/27/03 04:49 PM, ID: 9016203

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/29/03 02:06 AM, ID: 9026403

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/31/03 04:07 PM, ID: 9044846

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/31/03 06:07 PM, ID: 9045284

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74