| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I run a completely paid general directory, today i got 4 links in my pending section, i knew these weren't paid so i assumed they were just updates and approved them all. I later noticed ont he main page it was marked as a "new listing" I know indexU should mark them as suspended if they are added and not paid for, so i spent a few hours today working out how they managed to submit sites to my directory. I have found how this is done, and although only tech-savy people will do this i feel it should be corrected. I wont give details of this here because it will probably make matters worse, but everybody please be a bit more careful about approving sites in your pending lsit as this is already being exploited. I havent tried yet, but it could also be possible to get the link added without you even knowing, or even more likely get a sponsored listign for free (still in your pending section though) I would be interested if anybody runs a paid directory if they would let me try and add a site to their pending list - I obviously will add real data and not spam, you can reject or decline it - just want to try doing it across servers. Only relevant for people running 100% paid directories.
__________________ Some interesting INDEXU bits :http://www.indexu.co.uk Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent ) Last edited by inspireme; 08-27-2007 at 11:14 AM. |
| |||
|
Peopel are jsut converting the select drop down menus to text fields, (by creating a copy of the add page on own server, or using a browser plug-in. They can then alter the price to 0 - and get the listing on the pending list instead of suspended (for people who have paid basic listings) They can also set the price to $1 and get a huge reduction on sponsored listings, or increase period of time the listing is sponsored. Some check should be done server side ot make sure prices match up before sending it to paypal (i never checked this but it seems it would work from what i looked at)
__________________ Some interesting INDEXU bits :http://www.indexu.co.uk Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent ) Last edited by inspireme; 08-27-2007 at 02:19 PM. |
| ||||
|
That was a common issues years ago and still exists. Making local copies of files and using those to submit forms is an old "trick". Of course the way around that is to ensure that all POST's are received from the proper domain. People used to use these types of forms to send spam. Now that can be tricked too, but it's just not as easy.
__________________ |
| |||
|
you dont need to do that though you can just change selects to text fields and get cheap sponsored listings. people are doing this on my directory, others must be having the same thing. you need a price check to make sure the POST from the form = the same as it should be before proceeding.
__________________ Some interesting INDEXU bits :http://www.indexu.co.uk Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent ) |
| |||
| Code: Content visible to License Owner only. This is the worst case as i could, within 20seconds, get unlimited time period and sponsored listing for $1 - it would automatically be added to the site.Webmaster would be alerted with such small payment, but if your clever you could get away with this, especially by adjusting the time period and paying the same - i could get 10 years for the price of 1 and it would be very hard to detect. PM the link if you dont mind me trying
__________________ Some interesting INDEXU bits :http://www.indexu.co.uk Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent ) |
| |||
|
Ok well a few people sent PMs to me and i have got a sponsored listing for $1, instead of $35 by a simple 10second hack on one of the sites. Oddly the other site someone offered i tested seems not to let me change the price, although i did add a free listing which should have cost me. Just to clarify : Anyone can get the most expensive listing you offer for $1, and for an unlimited length of time, it has no approval needed and is added directly to the site. The scammer would need to pay some money otherwise the listing goes to pending queue, if they pay $1 its a successful transaction and it goes online. Obviously a webmaster would notice the odd payment, so i think most would pay for the cheapest and upgrade themselves sneakily for a longer period of time/ sponsored instead of basic to avoid detection. If you run a paid directory you can get a listing in the pending queue without needing to pay anything. As listings usually go into the suspended if not paid for, this probably means you will approve them thinking they are just updates. The Solution : A section of php should take the link period (passed by form) and see what hte listing type is (again passed by the form) the code will then lookup in the application file to work out the price, this should be compared to the price passed by the form, and if they dont match it should forwarded to a "dont scam us" template. This is a well known hack i suppose, but its worrying that people are starting to do it on my site - I have had 10 submissions that have been put into my pending queue without the $15 payment, although nobody has yet done the worst case scenario of paying me a small amount and getting a lot more than they paid for. How its done : probably best if you PM if you need to know.
__________________ Some interesting INDEXU bits :http://www.indexu.co.uk Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent ) Last edited by inspireme; 08-28-2007 at 11:45 PM. |
| |||
|
Here is the way I used to fix that problem in my dir. In add.php search for: Code: Content visible to License Owner only. Code: Content visible to License Owner only. Code: Content visible to License Owner only. Code: Content visible to License Owner only. Thanks for reporting this problem. |
| |||
|
ok well that explains why it doesnt work on your directory good job - you can still get a listing into the pending queue and bypass payment though, if you have a look their is a section of code thats says if listing price = 0 this code causes the lsiting to be added straight to pending, so if anyone tried to change the price to zero it causes the listing to bypass payment, and your checks, and goes to the pending queue. If you run a completly paid directory, you could jsut remove the whole section, or echo ("dont cheat me") in this section, fr anyone else who does allow fre submissions this isnt even a problem. thanks for the fix.
__________________ Some interesting INDEXU bits :http://www.indexu.co.uk Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent ) |
| ||||
| Code: Content visible to License Owner only. .
__________________ esm "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology." . |
| ||||
|
@tdz Thank you for the fix code, i borrow your idea which checking price (the codes are taken from ajax.php). I make it more general for all users, specially the last part which checking periods. I check the possible value combination, if doesn't match then just exit without any warning. Code: Content visible to License Owner only. http://nicecoder.com/svn/index.php?act=changeset&id=520 |
| |||
|
__________________ Ask Directory |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Payment processing | Webfriend | Customers Lounge | 2 | 05-28-2007 04:52 PM |
| Q about Payment and vBulletin integration | isulong seoph | Pre-Sales Questions | 1 | 09-10-2006 09:13 AM |
| IndexU 5, and payment | inspireme | v5.x | 9 | 02-23-2006 04:18 PM |
| Payment | templates911 | Pre-Sales Questions | 1 | 05-09-2002 05:53 AM |