Mailing List Archive

MySQL false positive
Hi,

Some MySQL servers have no root user, causing the following response:
Host '' is not allowed ...

Which passes through the check, causing a false positive.

This small patch will prevent this:
122,125d121
< if (!dbs)
< {
< exit(0);
< }

Thanks
Noam Rathaus
CTO
Beyond Security Ltd
http://www.SecurITeam.com
http://www.BeyondSecurity.com
Re: MySQL false positive [ In reply to ]
"Noam Rathaus" <noamr@beyondsecurity.com> writes:

> Ohhh sorry.
> mysql_unpassworded.nasl

That's what I thought but could not find those lines.
BTW, did you try the last version (1.11, last sunday)
I added this:
57a58
> if (" is not allowed to connect to this MySQL" >< r1) exit(0);

Isn't it enough to fix the false positive?
Re: MySQL false positive [ In reply to ]
Hi,

Ohhh sorry.
mysql_unpassworded.nasl

Thanks
Noam Rathaus
CTO
Beyond Security Ltd
http://www.SecurITeam.com
http://www.BeyondSecurity.com
----- Original Message -----
From: "Michel Arboi" <arboi@noos.fr>
To: "Noam Rathaus" <noamr@beyondsecurity.com>
Sent: Tuesday, August 20, 2002 6:47 PM
Subject: Re: MySQL false positive


> "Noam Rathaus" <noamr@beyondsecurity.com> writes:
>
> > 122,125d121
> > < if (!dbs)
> > < {
> > < exit(0);
> > < }
>
> Which plugin??
>
Re: MySQL false positive [ In reply to ]
Hi,

I will need to test it, however I cannot do it right away, I will try to get
back to you.

Thanks
Noam Rathaus
CTO
Beyond Security Ltd
http://www.SecurITeam.com
http://www.BeyondSecurity.com
----- Original Message -----
From: "Michel Arboi" <arboi@noos.fr>
To: "Nessus Plugin Mailing List" <plugins-writers@list.nessus.org>
Sent: Tuesday, August 20, 2002 7:04 PM
Subject: Re: MySQL false positive


> "Noam Rathaus" <noamr@beyondsecurity.com> writes:
>
> > Ohhh sorry.
> > mysql_unpassworded.nasl
>
> That's what I thought but could not find those lines.
> BTW, did you try the last version (1.11, last sunday)
> I added this:
> 57a58
> > if (" is not allowed to connect to this MySQL" >< r1) exit(0);
>
> Isn't it enough to fix the false positive?
>
Re: MySQL false positive [ In reply to ]
Hi,

Sorry for the confusion, I do use the latest version of the
mysql_unpassworded.nasl with that line.

Thanks
Noam Rathaus
CTO
Beyond Security Ltd
http://www.SecurITeam.com
http://www.BeyondSecurity.com
----- Original Message -----
From: "Michel Arboi" <arboi@noos.fr>
To: "Nessus Plugin Mailing List" <plugins-writers@list.nessus.org>
Sent: Tuesday, August 20, 2002 7:04 PM
Subject: Re: MySQL false positive


> "Noam Rathaus" <noamr@beyondsecurity.com> writes:
>
> > Ohhh sorry.
> > mysql_unpassworded.nasl
>
> That's what I thought but could not find those lines.
> BTW, did you try the last version (1.11, last sunday)
> I added this:
> 57a58
> > if (" is not allowed to connect to this MySQL" >< r1) exit(0);
>
> Isn't it enough to fix the false positive?
>