5

Click here to load reader

Web Application Security 101 - 13 Business Logic

Embed Size (px)

DESCRIPTION

In part 13 of Web Application Security 101 we cover various business logic security vulnerabilities that effect modern web applications.

Citation preview

Page 1: Web Application Security 101 - 13 Business Logic

Business LogicVulnerabilities in application-specific features.

Page 2: Web Application Security 101 - 13 Business Logic

ExamplesRounding Errors

Number Conversions

Page 3: Web Application Security 101 - 13 Business Logic

Rounding ErrorsYou can see how the type-less systems such as those found in

Python, Ruby, Perl, JavaScript and other could result into a rounding

error.

print 4000/5000print 4000.0/5000print round(4000/5000)print round(4000.0/5000)

Page 4: Web Application Security 101 - 13 Business Logic

Number ConversionsSmall numbers can be represented in more than one way.

print 0.0005print 5e-4

Page 5: Web Application Security 101 - 13 Business Logic

LabLet's discover some business logic flaws.