Skip to content

mod_security bug with random numbers generation #781

Closed
@batata004

Description

@batata004

I finally could create a way to reproduce the bug that I am having. When 2 or more users call a page at the same second modsecurity generates the same random number (using rand() function from php) to all users.

Here is a demonstration of the bug:

http://quemfazsite.com.br/em_criacao/modelo9/teste.php

Opening this page 2 iframes will load and each one should be generating random numbers independetly of each other but both frames are generating the same random numbers! The very simple source code can be seen at:

http://pastebin.com/8ELAnmdp

If this is not the right place to post this kind of bug please tell me the right place. This is my first contribution and I dont know too much about this community.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions